@vonage/element-f
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@vonage/element-f", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A functional shim to custom element definition", | ||
@@ -5,0 +5,0 @@ "main": "./src/element-f.js", |
# element-f | ||
A functional shim to custom element definition. | ||
### Installation | ||
``` | ||
npm i @vonage/element-f | ||
``` | ||
### Basics | ||
@@ -8,2 +14,4 @@ In order to define a custom-element, you only need one definition function: | ||
```javascript | ||
import elementF from "@voange/element-f"; | ||
const MyElement = elementF(function(){ | ||
@@ -26,3 +34,3 @@ // --- Your logic goes here -- | ||
To observe attributes, just add the list to `elementF` call: | ||
To observe attributes, just add their list to `elementF` call: | ||
```javascript | ||
@@ -29,0 +37,0 @@ const MyElement = elementF(function(life){ |
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
96
4733
4