UNPKG

@custom-elements-manifest/analyzer

Version:

<!-- [=> See Source <=](../../docs/analyzer/index.md) -->

120 lines (119 loc) 2.73 kB
{ "schemaVersion": "1.0.0", "readme": "", "modules": [ { "kind": "javascript-module", "path": "my-element.js", "declarations": [ { "kind": "class", "description": "", "name": "MyEl", "members": [ { "kind": "field", "name": "myField", "attribute": "myField", "reflects": true } ], "attributes": [ { "name": "a-a" }, { "name": "b-b" }, { "name": "c-c" }, { "name": "d-d" }, { "name": "myField", "fieldName": "myField" }, { "type": { "text": "boolean" }, "name": "attr1" }, { "type": { "text": "boolean" }, "name": "attr2" } ], "superclass": { "name": "HTMLElement" }, "tagName": "my-el", "customElement": true }, { "kind": "class", "description": "", "name": "Foo", "members": [ { "kind": "field", "name": "foo", "description": "this is the field description", "type": { "text": "string" }, "default": "''", "attribute": "my-attr" }, { "kind": "field", "name": "member", "description": "this is the description", "type": { "text": "string" }, "default": "''" } ], "attributes": [ { "name": "my-attr", "description": "this is the attr description", "type": { "text": "string" }, "default": "''", "fieldName": "foo" } ], "superclass": { "name": "HTMLElement" }, "customElement": true } ], "exports": [ { "kind": "custom-element-definition", "name": "my-el", "declaration": { "name": "MyEl", "module": "my-element.js" } }, { "kind": "js", "name": "Foo", "declaration": { "name": "Foo", "module": "my-element.js" } } ] } ] }