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

feat: add OnClick EventCallback to FluentAnchor #1425

Closed
majkada opened this issue Feb 2, 2024 · 0 comments
Closed

feat: add OnClick EventCallback to FluentAnchor #1425

majkada opened this issue Feb 2, 2024 · 0 comments

Comments

@majkada
Copy link

majkada commented Feb 2, 2024

🙋 Feature Request

It would be great having an optional OnClick EventCallback in the FluentAnchor component.

🔦 Context

I have plain text on my page and there I want to embed a link but instead of navigating to a different page I would like to open a dialog with further information about the text behind the link.

💻 Examples

<FluentLabel>tsdf sdfsd <FluentAnchor Href="#" Appearance="Appearance.Hypertext" OnClick="OpenDialog">2341</FluentAnchor> gsdf sdf.</FluentLabel>

@vnbaaij vnbaaij closed this as completed in 36f67c1 Feb 2, 2024
vnbaaij added a commit that referenced this issue Feb 6, 2024
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

No branches or pull requests

1 participant