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