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

feature: Allow external links to be a button element #32

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

zipper
Copy link
Owner

@zipper zipper commented Jun 20, 2024

External links for collapsable can now be a HTMLButtonElement with data-collapsable-id attribute. There is also an option to prevent the default action of an external link using either the option (this affects all external links for a particular Collapsable) or the data-collapsable-prevent-default attribute (this affects only a specific external link).

External links for collapsable can now be a `HTMLButtonElement` with `data-collapsable-id` attribute. There is also an option to prevent the default action of an external link using either the option (this affects all external links for a particular `Collapsable`) or the `data-collapsable-prevent-default` attribute (this affects only a specific external link).
@zipper zipper merged commit ffadb8b into master Jun 20, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant