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

JS function as a link for a button #19

Closed
MattIPv4 opened this issue Jun 7, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@MattIPv4
Copy link
Owner

commented Jun 7, 2019

Expected Behaviour

Within the documentation, it should be explained that the Link options can also be a JavaScript function instead of a URL string, which will be called when the user presses the button.

Current Behaviour

This is not documented and only shown through one example on the site (theme switching notification).

Development Environment

N/A

Steps to Reproduce

  1. https://macosnotif.js.org

Context

#18

Additional Comments

N/A

@MattIPv4

This comment has been minimized.

Copy link
Owner Author

commented Jun 8, 2019

Reassigning to version 0.1.0, which will be our first minor release, ensuring all docs etc are good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.