-
Notifications
You must be signed in to change notification settings - Fork 2
feat(hint): permite hint clickeable #196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| this.cdr.detectChanges(); | ||
| } | ||
|
|
||
| // Si el elemento que tiene la directiva [hint] tiene un evento (click), este se ejecutará, guste o no. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
y si no lo tiene? pincha!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jaja ahí se fixeó eso!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@liquid36 decime si ves bien el fix 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esta bien, pense que hostElement era una componente Angular, pero es un elemento del DOM, así que se ve que siempre tiene click.
| this.cdr.detectChanges(); | ||
| } | ||
|
|
||
| // Si el elemento que tiene la directiva [hint] tiene un evento (click), este se ejecutará, guste o no. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esta bien, pense que hostElement era una componente Angular, pero es un elemento del DOM, así que se ve que siempre tiene click.
# [6.10.0](v6.9.0...v6.10.0) (2020-08-07) ### Features * **hint:** permite hint clickeable ([#196](#196)) ([591ee09](591ee09))
|
🎉 This PR is included in version 6.10.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
El hint usa funcionalidad (click) del elemento padre:
<span hint="actualizar" (click)="actualizar()>Hola Mundo Plano!</span>El ejemplo anterior mostrará un texto con un hint, el cual ejecutará actualizar() al ser clickeado.