Fix metadata comments

This commit is contained in:
Cory LaViska
2021-03-06 16:37:39 -05:00
parent 18859be955
commit 405f38573a
3 changed files with 3 additions and 3 deletions

View File

@@ -43,8 +43,7 @@ export class SlForm extends LitElement {
* Emitted when the form is submitted. This event will not be emitted if any form control inside of
* it is in an invalid state, unless the form has the `novalidate` attribute. Note that there is never a need to prevent
* this event, since it doen't send a GET or POST request like native forms. To "prevent" submission, use a conditional
* around the XHR request you use to submit the form's data with. Event details will contain:
* `{ formData: FormData; formControls: HTMLElement[] }`
* around the XHR request you use to submit the form's data with.
*/
@event('sl-submit') slSubmit: EventEmitter<{ formData: FormData; formControls: HTMLElement[] }>;

View File

@@ -35,7 +35,7 @@ export class SlIcon extends LitElement {
/** Emitted when the icon has loaded. */
@event('sl-load') slLoad: EventEmitter<void>;
/** Emitted when the icon failed to load. Event details may include: `{ status: number }` */
/** Emitted when the icon failed to load. */
@event('sl-error') slError: EventEmitter<{ status: number }>;
connectedCallback() {

View File

@@ -13,6 +13,7 @@ export class SlResizeObserver extends LitElement {
private resizeObserver: ResizeObserver;
private observedElements: HTMLElement[] = [];
/** Emitted when the element is resized. */
@event('sl-resize') slResize: EventEmitter<{ entries: ResizeObserverEntry[] }>;
connectedCallback() {