polymer/polymer-element.js

44 lines
1.6 KiB
JavaScript
Raw Normal View History

2017-03-03 19:00:35 -06:00
<!--
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
2017-02-28 12:37:04 -06:00
<link rel="import" href="lib/mixins/element-mixin.html">
<!-- import html-tag to export html -->
<link rel="import" href="lib/utils/html-tag.html">
2017-02-14 13:22:29 -06:00
<script>
(function() {
'use strict';
2017-02-28 18:19:24 -06:00
/**
* Base class that provides the core API for Polymer's meta-programming
* features including template stamping, data-binding, attribute deserialization,
* and property change observation.
*
* @customElement
* @polymer
* @memberof Polymer
2017-03-29 17:52:01 -05:00
* @constructor
* @implements {Polymer_ElementMixin}
2017-02-28 18:19:24 -06:00
* @extends HTMLElement
2017-04-26 17:05:33 -05:00
* @appliesMixin Polymer.ElementMixin
2017-02-28 18:19:24 -06:00
* @summary Custom element base class that provides the core API for Polymer's
* key meta-programming features including template stamping, data-binding,
* attribute deserialization, and property change observation
*/
const Element = Polymer.ElementMixin(HTMLElement);
2017-04-27 16:32:51 -05:00
/**
* @constructor
* @implements {Polymer_ElementMixin}
* @extends {HTMLElement}
*/
Polymer.Element = Element;
// NOTE: this is here for modulizer to export `html` for the module version of this file
Polymer.html = Polymer.html;
})();
2017-02-14 13:22:29 -06:00
</script>