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.
1
const users = [
2
{ id: "jkratz", label: "Jamie Kratz" },
3
{ id: "pdougherty", label: "Pat Dougherty" }
4
];
5
6
const select = new wire.bsSelect().render("#select", {
7
...
8
});
Copied!
See Component for more on the render method and details on configuration options.

Copy link
Contents