mirror of https://github.com/sveltejs/svelte
bind:foo shorthand – closes #20
parent
cf1a80a28f
commit
2741eee8bf
@ -0,0 +1 @@
|
|||||||
|
<Widget bind:foo/>
|
@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"html": {
|
||||||
|
"start": 0,
|
||||||
|
"end": 18,
|
||||||
|
"type": "Fragment",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"start": 0,
|
||||||
|
"end": 18,
|
||||||
|
"type": "Element",
|
||||||
|
"name": "Widget",
|
||||||
|
"attributes": [
|
||||||
|
{
|
||||||
|
"start": 8,
|
||||||
|
"end": 16,
|
||||||
|
"type": "Binding",
|
||||||
|
"name": "foo",
|
||||||
|
"value": "foo"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"children": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"css": null,
|
||||||
|
"js": null
|
||||||
|
}
|
Loading…
Reference in new issue