Index: sky/examples/radio.sky |
diff --git a/sky/examples/radio.sky b/sky/examples/radio.sky |
index 02c1f6a28e108a8d3b23b37f911560941f9abc84..3da67a0699551b18ecc3e358083f38af9274cf4f 100644 |
--- a/sky/examples/radio.sky |
+++ b/sky/examples/radio.sky |
@@ -13,8 +13,8 @@ SKY MODULE - radio button and radio button group |
class extends Element { |
static get tagName() { return 'radio'; } |
static get shadow() { return true; } |
- constructor (module) { |
- super(module); |
+ constructor (hostModule) { |
+ super(hostModule); |
this.addEventListener('click', (event) => this.checked = true); |
this.shadowRoot.append(module.document.findId('radio-shadow').content.cloneNode(true)); |
} |
@@ -53,8 +53,8 @@ SKY MODULE - radio button and radio button group |
class extends Element { |
static get tagName() { return 'radiogroup'; } |
static get shadow() { return true; } |
- constructor (module) { |
- super(module); |
+ constructor (hostModule) { |
+ super(hostModule); |
this.shadowRoot.append(module.document.findId('radiogroup-shadow').content.cloneNode(true)); |
} |
get value () { |