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

on-checked-changed called on page render #121

Description

@JonathanSidego

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions