From 69ee4688af9e86572329b525b122debfaffb5dfd Mon Sep 17 00:00:00 2001 From: Peter Burns Date: Fri, 19 Jul 2019 18:13:36 -0700 Subject: [PATCH] Add additional externs (#5575) 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