polymer-analyzer
Version:
Static analysis for Web Components
23 lines (19 loc) • 342 B
JavaScript
class Element extends HTMLElement { }
customElements.define('my-element', Element);
/**
* @customElement
* @polymer
*/
class AnnotatedElement { }
/**
* @mixinFunction
* @polymer
*/
function Mixin(superClass) {
return class Mixin extends SuperClass { }
}
/**
* @mixinFunction
* @polymer
*/
AnnotatedMixin = CreateMixinSomehow();