New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@wide/modulus-dropdown

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wide/modulus-dropdown

Enhanced dropdown component in place of `<select>`, to be used with `@wide/modulus`.

latest
Source
npmnpm
Version
2.1.1
Version published
Maintainers
4
Created
Source

Modulus Dropdown

Enhanced dropdown component in place of <select>, to be used with @wide/modulus.

Install

npm install @wide/modulus-dropdown --save

Usage

Register this component using Modulus:

import modulus from '@wide/modulus'
import Dropdown from '@wide/modulus-dropdown'

modulus.component('dropdown', Dropdown)

Import base scss styles:

@import '@wide/modulus-dropdown';

Add [is="dropdown"] attribute to any <select> you want to enhance:

<select is="dropdown">
  <option value="plop">plop</option>
  <option value="foo">foo</option>
  <optgroup label="label">
    <option value="1">1</option>
    <option value="2">2</option>
  </optgroup>
  <option value="bar">bar</option>
</select>

Libraries

This package uses :

  • hotkeys-js

Authors

License

This project is licensed under the MIT License - see the licence file for details

FAQs

Package last updated on 16 Jun 2021

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