Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update api.md (correct entry for menuPosition) #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sidebar: auto
|`picker`| 'wheel' \| 'square' | 'wheel' | chose between pickers style |
|`value` | a valid color string |'#000' | the initial color value |
|`model` | 'rgb' \| 'hex' \| 'hsl' | 'rgb' | the output color model |
|`menuPosition` | 'top' \| 'bottom' \| 'left' \| 'right' \| 'center' | 'bottom' | the output color model |
|`menuPosition` | 'top' \| 'bottom' \| 'left' \| 'right' \| 'center' | 'bottom' | the menu position in display mode: 'picker' |
|`showHistory` | boolean | true | show a list of the recent colors at the bottom of the picker |
| `colorHistory` | `string[]` | `null` | a list of strings representing color values. If provided it will isolate the picker from other pickers and it will maintain its own list. |
|`display` | String | 'vertical' | controls the layout of the component. [List of allowed values](#display-modes). |
Expand Down