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 no-op method for Callback #793

Merged
merged 1 commit into from
Dec 10, 2019
Merged

Conversation

mdtusz
Copy link
Contributor

@mdtusz mdtusz commented Dec 9, 2019

When a component is created with an optional event handler, it can
be passed as an Option prop, however in certain cases, it is useful to
have either a default event handler, rather than passing a None.

Replaces #773

When a component is created with an optional event handler, it can
be passed as an `Option` prop, however in certain cases, it is useful to
have either a default event handler, rather than passing a `None`.
@jstarry jstarry merged commit f872884 into yewstack:master Dec 10, 2019
llebout pushed a commit to llebout/yew that referenced this pull request Jan 20, 2020
When a component is created with an optional event handler, it can
be passed as an `Option` prop, however in certain cases, it is useful to
have either a default event handler, rather than passing a `None`.
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

Successfully merging this pull request may close these issues.

2 participants