25 lines
793 B
JavaScript
25 lines
793 B
JavaScript
|
|
/** @typedef {{
|
||
|
|
* styleElement: function(!HTMLElement),
|
||
|
|
* styleSubtree: function(!HTMLElement, Object<string, string>=),
|
||
|
|
* prepareTemplate: function(!HTMLTemplateElement, string, string=),
|
||
|
|
* styleDocument: function(Object<string, string>=),
|
||
|
|
* getComputedStyleValue: function(!Element, string): string,
|
||
|
|
* ScopingShim: (Object|undefined),
|
||
|
|
* ApplyShim: (Object|undefined),
|
||
|
|
* CustomStyleInterface: (Object|undefined),
|
||
|
|
* nativeCss: boolean,
|
||
|
|
* nativeShadow: boolean,
|
||
|
|
* }}
|
||
|
|
*/
|
||
|
|
let ShadyCSSInterface; //eslint-disable-line no-unused-vars
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @typedef {{
|
||
|
|
* shimcssproperties: (boolean | undefined),
|
||
|
|
* shimshadow: (boolean | undefined)
|
||
|
|
* }}
|
||
|
|
*/
|
||
|
|
let ShadyCSSOptions; //eslint-disable-line no-unused-vars
|
||
|
|
|
||
|
|
/** @type {(ShadyCSSInterface | ShadyCSSOptions | undefined)} */
|
||
|
|
window.ShadyCSS;
|