Skip to content
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

Hover keep visible? #7

Open
Siyfion opened this issue Jun 11, 2014 · 2 comments
Open

Hover keep visible? #7

Siyfion opened this issue Jun 11, 2014 · 2 comments

Comments

@Siyfion
Copy link

Siyfion commented Jun 11, 2014

For example please see a modified version of the CodePen you did a while ago: http://codepen.io/Siyfion/pen/axgEH

Is there anyway we can get the popover to stay open while the mouse is within the bounds of the tooltip/popover? Or, can we expose a $close() or $hide() method on the internal scope so that the popover doesn't just sit there after the user interacts with it and moves the mouse away?

@jbruni
Copy link
Owner

jbruni commented Jun 12, 2014

This is an example of how you could do it using jQuery:
http://codepen.io/jbruni/pen/graux

It is a dirty workaround, but it works - you may consider this approach if you need to get things done.

I believe this interface ($close, $hide, etc) will be available when the official implementation is released.

@Siyfion
Copy link
Author

Siyfion commented Jul 18, 2014

@jbruni I don't know how easy it would be to expose a $close function to the template scope, but that, in addition to using https://docs.angularjs.org/api/ng/directive/ngMouseleave within the template, would be enough to do this in a reasonably elegent way...?

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

2 participants