Skip to content

Commit

Permalink
chore: align JSDoc, add missing events [skip ci] (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Jan 8, 2021
1 parent da98b19 commit 28f9bf5
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vaadin-email-field.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import { TextFieldElement } from './vaadin-text-field.js';
*
* See [ThemableMixin – how to apply styles for shadow parts](https://github.com/vaadin/vaadin-themable-mixin/wiki)
*
* @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.
* @fires {Event} change - Fired when the user commits a value change.
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
*/
Expand Down
2 changes: 2 additions & 0 deletions src/vaadin-email-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ registerStyles(
*
* See [ThemableMixin – how to apply styles for shadow parts](https://github.com/vaadin/vaadin-themable-mixin/wiki)
*
* @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.
* @fires {Event} change - Fired when the user commits a value change.
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
*
Expand Down
2 changes: 2 additions & 0 deletions src/vaadin-integer-field.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import { NumberFieldElement } from './vaadin-number-field.js';
* </vaadin-integer-field>
* ```
*
* @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.
* @fires {Event} change - Fired when the user commits a value change.
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
*/
Expand Down
2 changes: 2 additions & 0 deletions src/vaadin-integer-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import { NumberFieldElement } from './vaadin-number-field.js';
* </vaadin-integer-field>
* ```
*
* @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.
* @fires {Event} change - Fired when the user commits a value change.
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
*
Expand Down
2 changes: 2 additions & 0 deletions src/vaadin-number-field.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import { TextFieldElement } from './vaadin-text-field.js';
* </vaadin-number-field>
* ```
*
* @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.
* @fires {Event} change - Fired when the user commits a value change.
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
*/
Expand Down
2 changes: 2 additions & 0 deletions src/vaadin-number-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ let memoizedTemplate;
* </vaadin-number-field>
* ```
*
* @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.
* @fires {Event} change - Fired when the user commits a value change.
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
*
Expand Down
2 changes: 2 additions & 0 deletions src/vaadin-password-field.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import { TextFieldElement } from './vaadin-text-field.js';
*
* See [ThemableMixin – how to apply styles for shadow parts](https://github.com/vaadin/vaadin-themable-mixin/wiki)
*
* @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.
* @fires {Event} change - Fired when the user commits a value change.
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
*/
Expand Down
2 changes: 2 additions & 0 deletions src/vaadin-password-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ let memoizedTemplate;
*
* See [ThemableMixin – how to apply styles for shadow parts](https://github.com/vaadin/vaadin-themable-mixin/wiki)
*
* @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.
* @fires {Event} change - Fired when the user commits a value change.
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
*
Expand Down
2 changes: 2 additions & 0 deletions src/vaadin-text-area.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ import { TextFieldEventMap } from './interfaces';
*
* See [ThemableMixin – how to apply styles for shadow parts](https://github.com/vaadin/vaadin-themable-mixin/wiki)
*
* @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.
* @fires {Event} change - Fired when the user commits a value change.
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
*/
Expand Down
2 changes: 2 additions & 0 deletions src/vaadin-text-area.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ import { ElementMixin } from '@vaadin/vaadin-element-mixin/vaadin-element-mixin.
*
* See [ThemableMixin – how to apply styles for shadow parts](https://github.com/vaadin/vaadin-themable-mixin/wiki)
*
* @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.
* @fires {Event} change - Fired when the user commits a value change.
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
*
Expand Down
2 changes: 2 additions & 0 deletions src/vaadin-text-field.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ import { TextFieldEventMap } from './interfaces';
*
* See [ThemableMixin – how to apply styles for shadow parts](https://github.com/vaadin/vaadin-themable-mixin/wiki)
*
* @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.
* @fires {Event} change - Fired when the user commits a value change.
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
*/
Expand Down
2 changes: 2 additions & 0 deletions src/vaadin-text-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ import { ElementMixin } from '@vaadin/vaadin-element-mixin/vaadin-element-mixin.
*
* See [ThemableMixin – how to apply styles for shadow parts](https://github.com/vaadin/vaadin-themable-mixin/wiki)
*
* @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.
* @fires {Event} change - Fired when the user commits a value change.
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
*
Expand Down

0 comments on commit 28f9bf5

Please sign in to comment.