Skip to content

Allow specifying mouseover for dropdown #299

Description

@jogjayr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions