Skip to content

Commit

Permalink
chore: add JSDoc for custom events [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Dec 15, 2020
1 parent b561a2b commit 68c805d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vaadin-custom-field.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ import { CustomFieldEventMap } from './interfaces';
* `focused` | Set when the field contains focus | :host
*
* See [ThemableMixin – how to apply styles for shadow parts](https://github.com/vaadin/vaadin-themable-mixin/wiki)
*
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
*/
declare class CustomFieldElement extends ElementMixin(ThemableMixin(CustomFieldMixin(HTMLElement))) {
/**
Expand Down
3 changes: 3 additions & 0 deletions src/vaadin-custom-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ import { CustomFieldMixin } from './vaadin-custom-field-mixin.js';
*
* See [ThemableMixin – how to apply styles for shadow parts](https://github.com/vaadin/vaadin-themable-mixin/wiki)
*
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
*
* @extends HTMLElement
* @mixes ElementMixin
* @mixes ThemableMixin
Expand Down

0 comments on commit 68c805d

Please sign in to comment.