Bootstrap
Docs HomeProduct SiteSupport
  • Introduction
  • Buttons
    • Configuration
    • Data Binding
  • Checkboxes
    • Configuration
    • Data Binding
    • Events
  • Input
    • Configuration
    • Data Binding
    • Events
    • Methods
  • Modals
    • Message
    • Error
  • Search List
    • Configuration
    • Data Binding
    • Methods
  • Select
    • Configuration
    • Data Binding
    • Events
  • Table
    • Configuration
    • Data Binding
    • Events
  • Web Components
Powered by GitBook
On this page
  1. Search List

Methods

PreviousData BindingNextSelect

Last updated 2 years ago

The Bootstrap search list component extends the 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 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();
wire.ui.component
Bootstrap checkboxes