Skip to content

Commit bae64fa

Browse files
committed
live-web.dom: Added Link sizes.
1 parent 2e6f835 commit bae64fa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/live-web/dom/Link.lv

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@ component Link < DOMElement{
1212
on relChanged: () => {
1313
this.setOwnAttributeAndUpdate('rel', this.rel)
1414
}
15-
string type: ''
15+
string type
1616
on typeChanged: () => {
1717
this.setOwnAttributeAndUpdate('type', this.type)
1818
}
19+
string sizes
20+
on sizesChanged: () => {
21+
this.setOwnAttributeAndUpdate('sizes', this.sizes)
22+
}
1923
string crossorigin: false
2024
on crossoriginChanged: () => {
2125
if ( this.crossorigin )

0 commit comments

Comments
 (0)