Adding docs.

This commit is contained in:
Travis Tidwell 2021-03-29 20:25:13 -05:00
parent 8ea5c04ce7
commit a00350d14e

View file

@ -372,6 +372,23 @@ Pass an array of objects:
**Usage:** The maximum amount of search results to show.
### shadowRoot
**Type:** Document Element **Default:** null
**Input types affected:** `select-one`, `select-multiple`
**Usage:** You can pass along the shadowRoot from your application like so.
```js
var shadowRoot = document
.getElementById('wrapper')
.attachShadow({ mode: 'open' });
var choices = new Choices({
shadowRoot: shadowRoot,
});
```
### position
**Type:** `String` **Default:** `auto`