mirror of
https://github.com/Choices-js/Choices.git
synced 2026-03-14 14:45:47 +01:00
Document dropdownParent config option
This commit is contained in:
parent
b667952418
commit
f1228e86fb
2 changed files with 15 additions and 0 deletions
|
|
@ -536,6 +536,14 @@ var choices = new Choices(el, {
|
|||
});
|
||||
```
|
||||
|
||||
### dropdownParent
|
||||
|
||||
**Type:** `string | null` **Default:** null
|
||||
|
||||
**Input types affected:** `select-one`, `select-multiple`
|
||||
|
||||
**Usage:** CSS selector for the element to append the dropdown to. Similar to select2's appendTo option
|
||||
|
||||
### position
|
||||
|
||||
**Type:** `String` **Default:** `auto`
|
||||
|
|
|
|||
|
|
@ -635,5 +635,12 @@ export interface Options {
|
|||
|
||||
appendGroupInSearch: boolean;
|
||||
|
||||
/**
|
||||
* CSS selector for the element to append the dropdown to. Similar to select2's appendTo option
|
||||
*
|
||||
* **Input types affected:** `select-one`, `select-multiple`
|
||||
*
|
||||
* @default null
|
||||
*/
|
||||
dropdownParent: string | null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue