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

@JonathanSidego

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.

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