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 the JS tab.)

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

Open the browser console to confirm 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>