mirror of https://github.com/sveltejs/svelte
parent
1f577dfd64
commit
f34250b29c
@ -0,0 +1 @@
|
|||||||
|
<Component><div slot='foo'></div></Component>
|
||||||
@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"html": {
|
||||||
|
"start": 0,
|
||||||
|
"end": 45,
|
||||||
|
"type": "Fragment",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"start": 0,
|
||||||
|
"end": 45,
|
||||||
|
"type": "InlineComponent",
|
||||||
|
"name": "Component",
|
||||||
|
"attributes": [],
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"start": 11,
|
||||||
|
"end": 33,
|
||||||
|
"type": "Element",
|
||||||
|
"name": "div",
|
||||||
|
"attributes": [
|
||||||
|
{
|
||||||
|
"start": 16,
|
||||||
|
"end": 26,
|
||||||
|
"type": "Attribute",
|
||||||
|
"name": "slot",
|
||||||
|
"value": [
|
||||||
|
{
|
||||||
|
"start": 22,
|
||||||
|
"end": 25,
|
||||||
|
"type": "Text",
|
||||||
|
"raw": "foo",
|
||||||
|
"data": "foo"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"children": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in new issue