0.3.1 • Published 6 years ago

nanocal-ranger v0.3.1

Weekly downloads
33
License
MIT
Repository
github
Last release
6 years ago

ranger (range picker)

usage in three steps

  1. add link to head for styles
<link rel="stylesheet" href="https://unpkg.com/nanocal-ranger/dist/ranger.min.css">
  1. add div to body (yes I'm thinking about custom-elements, hopefully soon)
<div id="ranger"></div>
  1. add script
<script type="module">
  import Ranger from 'https://unpkg.com/nanocal-ranger?module'
  const ranger = new Ranger({ target: document.querySelector('#ranger') })
</script>

see doc/options

usage with npm and your own build pipeline

npm install nanocal-ranger
const Ranger = require('nanocal-ranger')
// or
import Ranger from 'nanocal-ranger'

For more detailed examples how to use nanocal with vue or react, see examples.

customize styles

see doc/styles

0.3.1

6 years ago

0.3.0

6 years ago

0.2.8

6 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

7 years ago

0.2.0

7 years ago