Click the menu links (on the left) to see examples.
Some example pages start with an emulator section. That section contains a JSON that defines the emulator scenario/logic.
The theme switcher currently affects ch5-buttons. It does not persist between page loads.
It works by changing a class on the HTML <body>
element, thus affecting
all ch5 elements on the page.
You can add a debug attribute to a ch5-component in order to receive additional
info in the
browser console. (e.g. for a ch5 button <ch5-button type="default" label="oval"
debug>
).
List of all ch5 components that support the debug attribute.
- ch5-button
- ch5-list
- ch5-image
- ch5-select
- ch5-toggle
- ch5-overlay-panel
- ch5-modal-dialog
- ch5-slider
- ch5-triggerview
- ch5-triggerviewchild
- ch5-template
- ch5-form
- ch5-spinner
CH5 version is dated