Skip to content

Getting clicked element's attributes #135

@jelewis8

Description

@jelewis8

Is there a way to pull the clicked element's attributes (such as custom data attributes, or the href, for instance) into the modaal ?

I've tried $(this) inside before_open but it returns null.

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