@polymer/polymer
Version:
The Polymer library makes it easy to create your own web components. Give your element some markup and properties, and then use it on a site. Polymer provides features like dynamic templates and data binding to reduce the amount of boilerplate you need to
29 lines (17 loc) • 706 B
TypeScript
// tslint:disable:variable-name Describing an API that's defined elsewhere.
import {PolymerElementConstructor} from '../../interfaces';
export {PolymerElementConstructor} from '../../interfaces';
/** Array of Polymer element classes that have been finalized. */
export const registrations: PolymerElementConstructor[];
export {incrementInstanceCount};
declare function incrementInstanceCount(): void;
export {register};
/**
* Registers a class prototype for telemetry purposes.
*/
declare function register(prototype: PolymerElementConstructor): void;
export {dumpRegistrations};
/**
* Logs all elements registered with an `is` to the console.
*/
declare function dumpRegistrations(): void;