0.3.1 • Published 1 year ago

@v142857/input-range v0.3.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Using

const InputRange = require('@v142857/input-range')
const input = InputRange({
    min: 0,
    max: 100, 
}, protocol) //these are the defaults
document.body.append(input)

function protocol (notify) {
    // notify here is the function you use to notify the sub component
    return listen
}
function listen (message) {
    // here you will receive messages from the sub component
    const { type, data } = message
}

Contributing

pnpm install
pnpm start 
0.3.1

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago