Skip to content

Commit

Permalink
feat(API): expose value
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-capsule42 committed Dec 16, 2021
1 parent dea76ab commit 0114255
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ The auro-dropdownmenu element is a wrapper for auro-dropdown and auro-menu to cr
| Property | Attribute | Type | Default | Description |
|---------------|---------------|----------|--------------------|--------------------------------------------------|
| `placeholder` | `placeholder` | `String` | "Select an option" | Define placeholder text to display before a value is manually selected. |
| `value` | `value` | `String` | | Value selected for the dropdown menu. |
4 changes: 1 addition & 3 deletions src/auro-dropdownmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import '@aurolabs/auro-menu';
* The auro-dropdownmenu element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
*
* @prop {String} placeholder - Define placeholder text to display before a value is manually selected.
* @prop {String} value - Value selected for the dropdown menu.
*/

// build the component class
Expand All @@ -49,9 +50,6 @@ class AuroDropdownmenu extends LitElement {
* @private
*/
expanded: { Boolean },
/**
* @private
*/
value: {
type: String,
reflect: true
Expand Down

0 comments on commit 0114255

Please sign in to comment.