Socket
Socket
Sign inDemoInstall

@vonage/element-f

Package Overview
Dependencies
Maintainers
14
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vonage/element-f - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"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){

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc