Select

Bootstrap's Select enhances the basic HTML select drop down.

Use the bsSelect class to create an instance of Bootstrap's select component inside WireBootstrap.

const mySelect = new wire.bsSelect();

Render the component using an HTML select element.

<select id="select"></select>
...
mySelect.render("#select",{
    ...
});

Web Component

Use the wire-bs-select web component to render the component using Web Components.

<wire-bs-select wr-config=""></wire-bs-select>

Last updated