Methods

The Bootstrap search list component extends the wire.ui.component class. As such, it inherits all its base methods.

The following methods are added to the Bootstrap search list component.

Name

Description

checkbox

The component uses the Bootstrap checkboxes component to display the list items. Use this method to get a reference to this underlying component.

const users = [
    { id: "bsimmons", label: "Ben Simmons" },
    { id: "jembiid", label: "Joel Embiid" }
]

const search = new wire.bsSearchList().render("#search", {
    data: users
});

const checkcboxes = search.checkboxes();

Last updated