New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

select-widget

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

select-widget

BookingSync BookNow Select

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Select Widget

CircleCI

Pure functionality, no styles included.

Setup

Getting started with Development

  • npm install to get the project's dependencies.
  • npm run server to start development server with live-reload and hot module replacement
  • go to http://localhost:8080/index.html

Scripts

  • npm run server - starts development server with live-reload and hot module replacement
  • npm run build - produces production version under the dist folder
  • npm run test - runs tests.

Usage

npm i select-widget


   <div class="select"></div>
   

import Select from 'select-widget';
const select = new Select({
  element: document.querySelector('.select'),
  data: ['A', 'B', 'C'],
  onChange(rawData, selected) {
    
  }
})

select.on('change', (a, b) => console.log(a, b));

see src/examples.js for more usages.

FAQs

Package last updated on 02 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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