npm.io
6.5.2 • Published 4 months ago

taktik-polymer-typescript

Licence
ISC
Version
6.5.2
Deps
1
Size
12 kB
Vulns
0
Weekly
0

NPM version

taktik-polymer-typeScript

!! WARNING !! Unmaintained project

Module providing development facilities for ozone polymer V2 typescript modules.

Decorators

  • @customElement(tagname: string) Class decorator that defines a custom element with name tagname
  • @property(options?: PropertyOptions) Property decorator factory that defines this as a Polymer property.
  • @observe(...targets: string[]) Method decorator that causes the decorated method to be called when a property changes. targets is either a single property name, or a list of property names.

install & configure this module in an other a typeScript project

Install you dependency npm install --save taktik-polymer-typescript

import {customElement} from 'taktik-polymer-typescript' // Import elements