You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/parser/samples/slotted-element/output.json

43 lines
658 B

{
"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": []
}
]
}
]
}
}