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

Allow specifying mouseover for dropdown #299

Open
jogjayr opened this issue Mar 4, 2016 · 0 comments
Open

Allow specifying mouseover for dropdown #299

jogjayr opened this issue Mar 4, 2016 · 0 comments

Comments

@jogjayr
Copy link

jogjayr commented Mar 4, 2016

Dropdowns currently only toggle on click events. I've written a mouseover dropdown directive by copy-pasting the dropdown directive and changing the event name to mouseover (that's the gist; there's some minor complexity around event bubbling). It would be nice if this could be supported directly as an option. It would be used as:

<!-- this works on mouseover -->
<!-- default is click but dropdown can also be specified -->
<a dropdown-toggle='#dropdown1' dropdown-event='mouseover'></a>
<ul id='dropdown1'><li>....</li></ul>

If this feature is desirable in the project, I would be happy to submit a pull request with code, tests and documentation.

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

1 participant