@custom-elements-manifest/analyzer
Version:
<!-- [=> See Source <=](../../docs/analyzer/index.md) -->
138 lines (137 loc) • 3.77 kB
JSON
{
"schemaVersion": "1.0.0",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "my-element.js",
"declarations": [
{
"kind": "class",
"description": "",
"name": "DefaultValues",
"members": [
{
"kind": "field",
"name": "defaultViaJsDoc",
"default": "'default from jsdoc'"
},
{
"kind": "field",
"name": "defaultWhereCodeTakesPrecedence",
"type": {
"text": "string"
},
"default": "'default from code'"
},
{
"kind": "field",
"name": "withoutDefault"
},
{
"kind": "field",
"name": "foo",
"type": {
"text": "string"
},
"description": "Should work with \"@attribute\" and no name",
"default": "\"bar\"",
"attribute": "foo"
},
{
"kind": "field",
"name": "myFoo",
"type": {
"text": "string"
},
"description": "Should work with \"@attribute\" and a name",
"default": "\"bar\"",
"attribute": "my-foo"
},
{
"kind": "field",
"name": "bar",
"type": {
"text": "string"
},
"description": "Should work with \"@attr\" and no name",
"default": "\"bar\"",
"attribute": "bar"
},
{
"kind": "field",
"name": "myBar",
"type": {
"text": "string"
},
"description": "Should work with \"@attr\" and a name",
"default": "\"bar\"",
"attribute": "my-bar"
}
],
"attributes": [
{
"name": "foo",
"type": {
"text": "string"
},
"description": "Should work with \"@attribute\" and no name",
"default": "\"bar\"",
"fieldName": "foo"
},
{
"name": "my-foo",
"type": {
"text": "string"
},
"description": "Should work with \"@attribute\" and a name",
"default": "\"bar\"",
"fieldName": "myFoo"
},
{
"name": "bar",
"type": {
"text": "string"
},
"description": "Should work with \"@attr\" and no name",
"default": "\"bar\"",
"fieldName": "bar"
},
{
"name": "my-bar",
"type": {
"text": "string"
},
"description": "Should work with \"@attr\" and a name",
"default": "\"bar\"",
"fieldName": "myBar"
}
],
"superclass": {
"name": "HTMLElement"
},
"tagName": "default-values",
"customElement": true
}
],
"exports": [
{
"kind": "js",
"name": "DefaultValues",
"declaration": {
"name": "DefaultValues",
"module": "my-element.js"
}
},
{
"kind": "custom-element-definition",
"name": "default-values",
"declaration": {
"name": "DefaultValues",
"module": "my-element.js"
}
}
]
}
]
}