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

web: Add Link Button Descriptor #92

Open
mhthies opened this issue Nov 3, 2024 · 0 comments
Open

web: Add Link Button Descriptor #92

mhthies opened this issue Nov 3, 2024 · 0 comments
Labels
feature A new feature

Comments

@mhthies
Copy link
Owner

mhthies commented Nov 3, 2024

From the discussion #89: A new ButtonDescriptor subclass named LinkButton shall be added. In contrast to the exiting button descriptor types it shall not be a WebUIConnector for dynamic functionality, but instead be rendered as a static button that works as a hyperlink to another WebPage or any external URL.

The new LinkButton shall be supported with ButtonGroup widgets, as well as ImageMap widgets and as an action button in HideRow widgets.

The LinkButton's constructor shall take a destination parameter which can either be e full URL as a string or a WebPage object or a new WebPageRef object, which contains a web page name and a reference to a section within that page, that shall be added as an anchor to the link URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

No branches or pull requests

1 participant