Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

JS function as a link for a button #19

@MattIPv4

Description

@MattIPv4

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

Metadata

Metadata

Assignees

Labels

documentationThis issue or pull request is related to documentation of the project

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions