drop-down 4.5.3
Install from the command line:
Learn more about npm packages
$ npm install @dusk-network/drop-down@4.5.3
Install via package.json:
"@dusk-network/drop-down": "4.5.3"
About this version
npm i -D @dusk-network/drop-down
<script>
import DropDown from "@dusk-network/drop-down";
const options = ["option 1", "option 2", "option 3", "option 4", "option 5"];
function onSelect() {
//Triggered on new selected value
}
</script>
<DropDown options="{options}" on:select="{onSelect}" />