taktik-polymer-typescript
Advanced tools
Comparing version 5.3.0 to 5.4.0
@@ -0,1 +1,4 @@ | ||
import 'reflect-metadata'; | ||
import '../type/shadow'; | ||
import '../type/polymer'; | ||
/** | ||
@@ -5,7 +8,2 @@ * A TypeScript class decorator that defines a custom element with name | ||
*/ | ||
import 'reflect-metadata'; | ||
import '../type/shadow'; | ||
import '../type/polymer'; | ||
import '../type/iron-ajax'; | ||
import '../type/missing'; | ||
export declare function customElement(tagname: string): (clazz: any) => void; | ||
@@ -12,0 +10,0 @@ /** |
@@ -0,1 +1,4 @@ | ||
import 'reflect-metadata'; | ||
import '../type/shadow'; | ||
import '../type/polymer'; | ||
/** | ||
@@ -5,7 +8,2 @@ * A TypeScript class decorator that defines a custom element with name | ||
*/ | ||
import 'reflect-metadata'; | ||
import '../type/shadow'; | ||
import '../type/polymer'; | ||
import '../type/iron-ajax'; | ||
import '../type/missing'; | ||
export function customElement(tagname) { | ||
@@ -12,0 +10,0 @@ return (clazz) => { |
{ | ||
"name": "taktik-polymer-typescript", | ||
"version": "5.3.0", | ||
"version": "5.4.0", | ||
"publishConfig": { | ||
@@ -24,3 +24,3 @@ "access": "public" | ||
"devDependencies": { | ||
"ozone-type": "^5.3.0" | ||
"ozone-type": "^5.4.0" | ||
}, | ||
@@ -30,3 +30,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "efb9950fcea52e015a0a316915a21e58481cf2f2" | ||
"gitHead": "ad81f40c3a71323098a7b18c65e07edf394aed94" | ||
} |
[![NPM version][npm-image]][npm-url] | ||
# \<taktik-polymer-typeScript\> | ||
# taktik-polymer-typeScript | ||
!! WARNING !! Unmaintained project. | ||
Module providing development facilities for ozone polymer type script modules. | ||
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 | ||
- step 1: install dependency | ||
> Install you dependency | ||
> npm install --save taktik-polymer-typescript | ||
- step 2: use node module resolution in tsconfig.json | ||
```json | ||
{ | ||
"compilerOptions":{ | ||
"moduleResolution": "node" | ||
} | ||
} | ||
``` | ||
- step 3: import where you need | ||
```typescript | ||
@@ -35,2 +25,2 @@ import {customElement} from 'taktik-polymer-typescript' // Import elements | ||
[npm-image]: https://badge.fury.io/js/ozone-type.svg | ||
[npm-url]: https://npmjs.org/package/ozone-type | ||
[npm-url]: https://npmjs.org/package/ozone-type |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11904
13
304
26