Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

on-checked-changed called on page render #121

Open
JonathanSidego opened this issue May 31, 2017 · 0 comments
Open

on-checked-changed called on page render #121

JonathanSidego opened this issue May 31, 2017 · 0 comments

Comments

@JonathanSidego
Copy link

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.

@JonathanSidego JonathanSidego changed the title on-checked-changed called on page render on-checked-changed called on page render May 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant