Skip to content

v-b-hover with variable input #6706

Closed
Closed
@naletups

Description

@naletups

Does the v-b-hover directive provide a convenient way of passing not only true/false, but also a custom parameter? If you have multiple elements on your page, it can become quite tedious and resource intensive to create a large set of handlers.

For the time being, I resorted back to using the event hooks directly on all the elements, similar to as the directive: @mouseenter="onHover(0) @mouseleave="onUnhover(0) and so on (see also comments at end of #4771 for more use cases)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions