Skip to content

Commit

Permalink
docs: also add label property to .d.ts file
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Dec 7, 2023
1 parent de4ed74 commit 10c8d96
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/item/src/vaadin-item.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ declare class Item extends ItemMixin(ThemableMixin(DirMixin(HTMLElement))) {
* Submittable string value. The default value is the trimmed text content of the element.
*/
value: string;

/**
* String that can be set to visually represent the selected item in `vaadin-select`.
*/
label: string | undefined;
}

declare global {
Expand Down

0 comments on commit 10c8d96

Please sign in to comment.