• List Box

    import { Components } from "gd-sprest-bs";

    // Create the list box
    let el = document.querySelector("#list-box");
    Components.Collapse({
    el: el,
    label: "Colors",
    placeholder: "Search Colors",
    items: [
    { text: "Red", value: "red" },
    { text: "Blue", value: "blue" },
    { text: "Green", value: "green" },
    { text: "Purple", value: "purple" },
    { text: "Brown", value: "brown" },
    { text: "Yellow", value: "yellow" },
    { text: "Orange", value: "orange" }
    ]
    });

    Parameters

    Returns IListBox

Generated using TypeDoc