Crestron Components Lib - Showcase App

ch5-toggle: change event

ch5-toggle change event

Open the browser console to see the result of a Javascript event handler when the ch5-toggle is changed . ( See JS tab )

<ch5-toggle
    id="demo"
    label="Alarm"
    labelOn="On"
    labelOff="Off"
    >
</ch5-toggle>

Open the browser console to see result of a jQuery event handler when the ch5-toggle is changed . ( See the JS tab )

<ch5-toggle
    id="demo2"
    label="Speaker"
    labelOn="On"
    labelOff="Off"
    handleShape="rectangle"
    >
</ch5-toggle>