Skip to content

Custom Triggers for tooltip/popover #116

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

Open
mdedetrich opened this issue Sep 23, 2014 · 2 comments
Open

Custom Triggers for tooltip/popover #116

mdedetrich opened this issue Sep 23, 2014 · 2 comments

Comments

@mdedetrich
Copy link

There is some sparse documentation that in order to make custom events, you have to use $tooltipProvider, however I haven't actually managed to get this to work. Apparently angular-foundation uses the same $tooltipProvider as the one mentioned here (angular-ui/bootstrap#625), but I still don't have any luck.

Can someone provide a working example if this is actually possible?

@nobalmohan
Copy link

This might be helpful http://plnkr.co/edit/0wEqzz?p=preview

@shashankavusali
Copy link

use elem[0].dispatchEvent(new Event('customEvent)) instead of elem.trigger('customEvent') to trigger custom events

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants