nj-select

1.1.1 • Public • Published

NJ Select

Native JS custom select.

Demo

It's on the GitHub Pages.

Install

npm

$ npm i nj-select

yarn

$ yarn add nj-select

Manual download

You can manually download NJ Select from repository.

How to use

Add select:

<select id="nj">
    ...
</select>

Use styles:

<link rel="stylesheet" href="dist/nj-select.css">

Import via ES modules:

import NJSelect from 'nj-select';

Or in browser:

<script src="dist/nj-select.js"></script>

To initialise:

new NJSelect(document.getElementById('nj'));

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i nj-select

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

292 kB

Total Files

9

Last publish

Collaborators

  • phx-vic