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

Add OnFocus Event to MatButton #314

Open
phillsonntag opened this issue Oct 24, 2019 · 0 comments
Open

Add OnFocus Event to MatButton #314

phillsonntag opened this issue Oct 24, 2019 · 0 comments

Comments

@phillsonntag
Copy link

Hi,
due to special circumstances I need to have the OnFocus event implemented as a property on the MatButton component.

My suggestion would be something like this:
<MatButton OnFocus="() => ButtonFocused()" OnClick="() => ButtonClicked()">@Control.Text</MatButton>

@phillsonntag phillsonntag changed the title Add OnFocus to MatButton Add OnFocus Event to MatButton Oct 24, 2019
peterblazejewicz added a commit to peterblazejewicz/MatBlazor that referenced this issue Oct 29, 2019
- implementation change
- example code update

Thanks!
peterblazejewicz added a commit to peterblazejewicz/MatBlazor that referenced this issue Apr 2, 2020
- implementation change
- example code update

Thanks!
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