Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dreamworld/dw-checkbox

Package Overview
Dependencies
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dreamworld/dw-checkbox - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1-development.1

15

dw-checkbox.js

@@ -105,3 +105,3 @@ /**

this.alignEnd = false;
this.checked = false;
this._checked = false;
this.indeterminate = false;

@@ -111,4 +111,13 @@ this.label = "";

}
/**
* dispatch `checked-changed` event.
*/
updated(changedProps){
if(changedProps.has('checked')){
this.dispatchEvent(new CustomEvent('checked-changed', { detail: { checked: this.checked } } ));
}
}
/**
* Toggles current state of the checkbox

@@ -127,7 +136,5 @@ */

this.checked = e.target.checked;
this.dispatchEvent(new Event('checked-changed', e));
}
}
window.customElements.define('dw-checkbox', DwCheckbox);
{
"name": "@dreamworld/dw-checkbox",
"version": "2.1.0",
"version": "2.1.1-development.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "dw-checkbox.js",

Sorry, the diff of this file is not supported yet

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