Skip to content

Commit 530e546

Browse files
authored
docs: Add showDropdown prop description to readme (#152)
Closes #144
1 parent 1e77bec commit 530e546

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ A lightweight and fast control to render a select component that can display hie
5050
- [keepTreeOnSearch](#keeptreeonsearch)
5151
- [simpleSelect](#simpleselect)
5252
- [showPartiallySelected](#showpartiallyselected)
53+
- [showDropdown](#showDropdown)
5354
- [Styling and Customization](#styling-and-customization)
5455
- [Using default styles](#default-styles)
5556
- [Customizing with Bootstrap, Material Design styles](#customizing-styles)
@@ -287,6 +288,12 @@ Type: `bool` (default: `false`)
287288

288289
If set to true, shows checkboxes in a partial state when one, but not all of their children are selected. Allows styling of partially selected nodes as well, by using [:indeterminate](https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate) pseudo class. Simply add desired styles to `.node.partial .checkbox-item:indeterminate { ... }` in your CSS.
289290

291+
### showDropdown
292+
293+
Type: `bool` (default: `false`)
294+
295+
If set to true, shows the dropdown when rendered. This can be used to render the component with the dropdown open as its initial state.
296+
290297
## Styling and Customization
291298

292299
### Default styles

docs/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)