Skip to content

Commit

Permalink
docs: Add showDropdown prop description to readme (#152)
Browse files Browse the repository at this point in the history
Closes #144
  • Loading branch information
mrchief authored Aug 14, 2018
1 parent 1e77bec commit 530e546
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ A lightweight and fast control to render a select component that can display hie
- [keepTreeOnSearch](#keeptreeonsearch)
- [simpleSelect](#simpleselect)
- [showPartiallySelected](#showpartiallyselected)
- [showDropdown](#showDropdown)
- [Styling and Customization](#styling-and-customization)
- [Using default styles](#default-styles)
- [Customizing with Bootstrap, Material Design styles](#customizing-styles)
Expand Down Expand Up @@ -287,6 +288,12 @@ Type: `bool` (default: `false`)

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.

### showDropdown

Type: `bool` (default: `false`)

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.

## Styling and Customization

### Default styles
Expand Down
2 changes: 1 addition & 1 deletion docs/bundle.js

Large diffs are not rendered by default.

0 comments on commit 530e546

Please sign in to comment.