This is an example of a component using the attributes panel to set the initial value.
In the long run it would be nice to include easy skinning and multiple components. It’s just a beginning. Your welcome to chip in…
simple-component-checkbox.zip (Hype 4)
1.0 initial release
1.1 simplified code and added more skinning examples
1.2 added multiple examples how to read out the dataset
1.3 added a Mutation Observer version
1.4 Fixes,simplified and allowed 'checked' attribute (applied initially)