Comment on page
Configuration
WireBootstrap standardizes on many of the common configuration options for the third-party components used in Bootstrap themes. These are illustrated in the following sections.
Each section contains examples that render the Bootstrap Select component inside an element with a DOM id of
select
. Note, all WireBootstrap components are rendered by passing a configuration object into the render
method. const users = [
{ id: "jkratz", label: "Jamie Kratz" },
{ id: "pdougherty", label: "Pat Dougherty" }
];
const select = new wire.bsSelect().render("#select", {
...
});
Last modified 2yr ago