(require("components/FolderSelector"))(target, input, props, store) → {object}
Create the folder selector in a given target.
Parameters:
Name | Type | Description |
---|---|---|
target |
HTMLElement | |
input |
HTMLElement | An input where the selected id is stored (usually input[type="hidden"]) |
props |
object | The properties for FolderSelector control |
store |
object |
Returns:
The created store
- Type
- object