# Methods

The Bootstrap search list component extends the [wire.ui.component](https://docs.wirebootstrap.com/wirebootstrap/reference/wire.ui/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](https://docs.wirebootstrap.com/bootstrap/checkboxes) component to display the list items.  Use this method to get a reference to this underlying component. |

```javascript
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();
```
