• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/** @externs */
2
3/** @typedef {{
4 * styleElement: function(!HTMLElement),
5 * styleSubtree: function(!HTMLElement, Object<string, string>=),
6 * prepareTemplate: function(!HTMLTemplateElement, string, string=),
7 * prepareTemplateStyles: function(!HTMLTemplateElement, string, string=),
8 * prepareTemplateDom: function(!HTMLTemplateElement, string),
9 * styleDocument: function(Object<string, string>=),
10 * flushCustomStyles: function(),
11 * getComputedStyleValue: function(!Element, string): string,
12 * ScopingShim: (Object|undefined),
13 * ApplyShim: (Object|undefined),
14 * CustomStyleInterface: (Object|undefined),
15 * nativeCss: boolean,
16 * nativeShadow: boolean,
17 * cssBuild: (string | undefined),
18 * }}
19 */
20let ShadyCSSInterface; //eslint-disable-line no-unused-vars
21
22/**
23 * @typedef {{
24 * shimcssproperties: (boolean | undefined),
25 * shimshadow: (boolean | undefined),
26 * cssBuild: (string | undefined),
27 * }}
28 */
29let ShadyCSSOptions; //eslint-disable-line no-unused-vars
30
31/** @type {(ShadyCSSInterface | ShadyCSSOptions | undefined)} */
32window.ShadyCSS;
33
34/** @type {string|undefined} */
35Element.prototype.extends;
36
37/** @type {?Element|undefined} */
38Element.prototype._element;
39
40/** @type {string|undefined} */
41Element.prototype.__cssBuild;
42
43/** @type {boolean|undefined} */
44HTMLTemplateElement.prototype._validating;
45
46/** @type {boolean|undefined} */
47HTMLTemplateElement.prototype._prepared;
48
49/** @type {boolean|undefined} */
50HTMLTemplateElement.prototype._domPrepared;
51
52/** @type {?DocumentFragment|undefined} */
53HTMLTemplateElement.prototype._content;
54
55/** @type {?HTMLStyleElement|undefined} */
56HTMLTemplateElement.prototype._gatheredStyle;
57
58/** @type {?HTMLStyleElement|undefined} */
59HTMLTemplateElement.prototype._style;
60
61/**
62 * @type {string | undefined}
63 */
64DOMTokenList.prototype.value;