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

Added ability to toggle the Popover #721

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mmacmillan
Copy link

Added the ability to toggle the popover by clicking/touching the link used to invoke it, a second time. This is useful for the case where a custom popover implementation doesn't leave much backdrop to click, hiding the popover...or when it is too far to travel for a click/touch. Added mouse click handlers for showing/hiding to facilitate web use-cases, and simple rapid-click protection that could cause the popover to get "stuck" open, without the ability to close.

@Johann-S
Copy link
Member

I agree with you, it would be very useful if Ratchet have a global namespace for each Javascript components and have a public access for some methods. 👍

@XhmikosR
Copy link
Member

XhmikosR commented Feb 9, 2015

@mmacmillan: this needs to be cleaned up. Squashed etc.

@mmacmillan
Copy link
Author

@XhmikosR yea, the code has evolved a bit beyond the PR; let me clean this up. Thanks.

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

Successfully merging this pull request may close these issues.

None yet

4 participants