| Index: sky/examples/radio.sky
|
| diff --git a/sky/examples/radio.sky b/sky/examples/radio.sky
|
| index a253af312169832af9f176f9938ca75329c917e2..ec666d9ec94f99399c781bfe644e2a52eb9a7697 100644
|
| --- a/sky/examples/radio.sky
|
| +++ b/sky/examples/radio.sky
|
| @@ -13,6 +13,7 @@ SKY MODULE - radio button and radio button group
|
| module.exports = {};
|
| module.exports.RadioElement = sky.registerElement('radio', class extends Element {
|
| constructor () {
|
| + super();
|
| this.addEventListener('click', (event) => this.checked = true);
|
| this.addShadowRoot(new sky.ShadowRoot(module.document.findId('radio-shadow').content.cloneNode(true)));
|
| }
|
| @@ -48,6 +49,7 @@ SKY MODULE - radio button and radio button group
|
| <script>
|
| module.exports.RadioGroupElement = sky.registerElement('radiogroup', class extends Element {
|
| constructor () {
|
| + super();
|
| this.addShadowRoot(new sky.ShadowRoot(module.document.findId('radiogroup-shadow').content.cloneNode(true)));
|
| }
|
| get value () {
|
|
|