UNPKG

1.27 kBJavaScriptView Raw
1/**
2@license
3Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
4This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7Code distributed by Google as part of the polymer project is also
8subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9*/
10
11import { ElementMixin, version } from './lib/mixins/element-mixin.js';
12export { html } from './lib/utils/html-tag.js';
13
14export { version };
15
16/**
17 * Base class that provides the core API for Polymer's meta-programming
18 * features including template stamping, data-binding, attribute deserialization,
19 * and property change observation.
20 *
21 * @customElement
22 * @polymer
23 * @constructor
24 * @implements {Polymer_ElementMixin}
25 * @extends HTMLElement
26 * @appliesMixin ElementMixin
27 * @summary Custom element base class that provides the core API for Polymer's
28 * key meta-programming features including template stamping, data-binding,
29 * attribute deserialization, and property change observation
30 */
31export const PolymerElement = ElementMixin(HTMLElement);