From 9eacbeb2b8378c84e78b5238fb7bc8e162268813 Mon Sep 17 00:00:00 2001 From: Peter Burns Date: Fri, 19 Jul 2019 15:47:09 -0700 Subject: [PATCH] Add additional externs Upstreaming cl/259031976 --- externs/polymer-externs.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/externs/polymer-externs.js b/externs/polymer-externs.js index 0c7b8ea458..a1b9dae11a 100644 --- a/externs/polymer-externs.js +++ b/externs/polymer-externs.js @@ -143,6 +143,29 @@ Polymer.syncInitialRender; */ var PolymerElement = function() {}; +/** + * The tag name of the cutom element type. + * @type {string|undefined} + */ +PolymerElement.is; +/** + * The template to stamp when creating this element type. + * @type {!HTMLTemplateElement|undefined} + */ +PolymerElement.template; +/** + * The properties of the cutom element type. + * @type {!PolymerElementProperties|undefined} + */ +PolymerElement.properties; +/** + * The observers of this custom element type. + * @type {!Array|undefined} + */ +PolymerElement.observers; +/** @type {!PolymerInit|undefined} */ +PolymerElement.generatedFrom; + /** * On create callback. * @override