@custom-elements-manifest/analyzer
Version:
<!-- [=> See Source <=](../../docs/analyzer/index.md) -->
123 lines • 2.88 kB
JSON
{
"schemaVersion": "1.0.0",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "my-element.js",
"declarations": [
{
"kind": "class",
"description": "",
"name": "TodoList",
"members": [
{
"kind": "field",
"name": "color",
"type": {
"text": "string"
}
},
{
"kind": "field",
"name": "isValid",
"type": {
"text": "boolean"
}
},
{
"kind": "field",
"name": "controller",
"type": {
"text": "MyController"
}
},
{
"kind": "field",
"name": "message",
"type": {
"text": "string"
},
"default": "'Hello'",
"reflects": true,
"attribute": "message"
},
{
"kind": "method",
"name": "someMethod"
}
],
"attributes": [
{
"name": "color",
"fieldName": "color",
"type": {
"text": "string"
}
},
{
"name": "is-valid",
"fieldName": "isValid",
"type": {
"text": "boolean"
}
},
{
"name": "controller",
"fieldName": "controller",
"type": {
"text": "MyController"
}
},
{
"name": "valid",
"fieldName": "isValid",
"type": {
"text": "boolean"
}
},
{
"name": "message",
"fieldName": "message",
"default": "'Hello'"
}
],
"tagName": "todo-list",
"events": [
{
"name": "todoCompleted",
"type": {
"text": "EventEmitter<Todo>"
}
},
{
"name": "foo",
"type": {
"text": "EventEmitter<Todo>"
}
}
],
"customElement": true
}
],
"exports": [
{
"kind": "js",
"name": "TodoList",
"declaration": {
"name": "TodoList",
"module": "my-element.js"
}
},
{
"kind": "custom-element-definition",
"name": "todo-list",
"declaration": {
"name": "TodoList",
"module": "my-element.js"
}
}
]
}
]
}