You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
I have the above code, and on rendering the page for the first time, the handleToggleChange handler gets called, even though the checked state of the toggle isn't being manipulated.
Is this somehow expected behaviour?
Expected outcome
That it only gets called when the toggle is clicked/dragged.
The text was updated successfully, but these errors were encountered:
JonathanSidego
changed the title
on-checked-changed called on page render
on-checked-changed called on page render
May 31, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
<paper-toggle-button on-checked-changed="handleToggleChange" id="toggle"></paper-toggle-button>
I have the above code, and on rendering the page for the first time, the handleToggleChange handler gets called, even though the checked state of the toggle isn't being manipulated.
Is this somehow expected behaviour?
Expected outcome
That it only gets called when the toggle is clicked/dragged.
The text was updated successfully, but these errors were encountered: