core/lib/tern_from_ts/defs/webcomponents.js.json
2017-05-14 13:22:31 +02:00

38 lines
977 B
JSON

{
"webcomponents": {
"CustomElementInit": {
"prototype": "HTMLElement",
"extends": "string"
},
"CustomElementConstructor": {},
"CustomElementsPolyfill": {
"hasNative": "bool",
"flags": "?",
"ready": "bool",
"useNative": "bool"
},
"HTMLImportsPolyfill": {
"IMPORT_LINK_TYPE": "string",
"isIE": "bool",
"flags": "?",
"ready": "bool",
"rootDocument": "Document",
"useNative": "bool",
"whenReady": "fn(callback: fn())"
},
"Polyfill": {
"flags": "?"
}
},
"webcomponents.js": "webcomponents",
"Document": {
"registerElement": "fn(name: string, prototype: webcomponents.CustomElementInit) -> webcomponents.CustomElementConstructor"
},
"Window": {
"CustomElements": "webcomponents.CustomElementsPolyfill",
"HTMLImports": "webcomponents.HTMLImportsPolyfill",
"WebComponents": "webcomponents.Polyfill"
},
"!name": "webcomponents.js"
}