Skip to content

Commit d4d0aec

Browse files
authored
docs: add missing type JSDoc to ItemMixin value property (#11276)
1 parent 17cf550 commit d4d0aec

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/item/src/vaadin-item-mixin.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,13 @@ export const ItemMixin = (superClass) =>
5757
}
5858

5959
/**
60-
* @return {string}
60+
* Submittable string value. The default value is the trimmed text content of the element.
61+
* @type {string}
6162
*/
6263
get value() {
6364
return this._value !== undefined ? this._value : this.textContent.trim();
6465
}
6566

66-
/**
67-
* @param {string} value
68-
*/
6967
set value(value) {
7068
this._value = value;
7169
}

0 commit comments

Comments
 (0)