kopia lustrzana https://github.com/shoelace-style/shoelace
fix comments
rodzic
47aff56e71
commit
c737b7494f
|
@ -22,9 +22,9 @@ const toastStack = Object.assign(document.createElement('div'), { className: 'sl
|
|||
* @slot icon - An icon to show in the alert.
|
||||
*
|
||||
* @event sl-show - Emitted when the alert opens.
|
||||
* @event sl-after-show - Emitted after the alert opens and all transitions are complete.
|
||||
* @event sl-after-show - Emitted after the alert opens and all animations are complete.
|
||||
* @event sl-hide - Emitted when the alert closes.
|
||||
* @event sl-after-hide - Emitted after the alert closes and all transitions are complete.
|
||||
* @event sl-after-hide - Emitted after the alert closes and all animations are complete.
|
||||
*
|
||||
* @csspart base - The component's base wrapper.
|
||||
* @csspart icon - The container that wraps the alert icon.
|
||||
|
|
|
@ -22,9 +22,9 @@ let id = 0;
|
|||
* @slot summary - The details' summary. Alternatively, you can use the summary prop.
|
||||
*
|
||||
* @event sl-show - Emitted when the details opens.
|
||||
* @event sl-after-show - Emitted after the details opens and all transitions are complete.
|
||||
* @event sl-after-show - Emitted after the details opens and all animations are complete.
|
||||
* @event sl-hide - Emitted when the details closes.
|
||||
* @event sl-after-hide - Emitted after the details closes and all transitions are complete.
|
||||
* @event sl-after-hide - Emitted after the details closes and all animations are complete.
|
||||
*
|
||||
* @csspart base - The component's base wrapper.
|
||||
* @csspart header - The summary header.
|
||||
|
|
|
@ -30,9 +30,9 @@ let id = 0;
|
|||
* @slot footer - The dialog's footer, usually one or more buttons representing various options.
|
||||
*
|
||||
* @event sl-show - Emitted when the dialog opens.
|
||||
* @event sl-after-show - Emitted after the dialog opens and all transitions are complete.
|
||||
* @event sl-after-show - Emitted after the dialog opens and all animations are complete.
|
||||
* @event sl-hide - Emitted when the dialog closes.
|
||||
* @event sl-after-hide - Emitted after the dialog closes and all transitions are complete.
|
||||
* @event sl-after-hide - Emitted after the dialog closes and all animations are complete.
|
||||
* @event sl-initial-focus - Emitted when the dialog opens and the panel gains focus. Calling `event.preventDefault()`
|
||||
* will prevent focus and allow you to set it on a different element in the dialog, such as an input or button.
|
||||
* @event sl-request-close - Emitted when the user attempts to close the dialog by clicking the close button, clicking the
|
||||
|
|
|
@ -31,9 +31,9 @@ let id = 0;
|
|||
* @slot footer - The drawer's footer, usually one or more buttons representing various options.
|
||||
*
|
||||
* @event sl-show - Emitted when the drawer opens.
|
||||
* @event sl-after-show - Emitted after the drawer opens and all transitions are complete.
|
||||
* @event sl-after-show - Emitted after the drawer opens and all animations are complete.
|
||||
* @event sl-hide - Emitted when the drawer closes.
|
||||
* @event sl-after-hide - Emitted after the drawer closes and all transitions are complete.
|
||||
* @event sl-after-hide - Emitted after the drawer closes and all animations are complete.
|
||||
* @event sl-initial-focus - Emitted when the drawer opens and the panel gains focus. Calling `event.preventDefault()` will
|
||||
* prevent focus and allow you to set it on a different element in the drawer, such as an input or button.
|
||||
* @event sl-request-close - Emitted when the user attempts to close the drawer by clicking the close button, clicking the
|
||||
|
|
|
@ -18,9 +18,9 @@ let id = 0;
|
|||
* @slot content - The tooltip's content. Alternatively, you can use the content prop.
|
||||
*
|
||||
* @event sl-show - Emitted when the tooltip begins to show.
|
||||
* @event sl-after-show - Emitted after the tooltip has shown and all transitions are complete.
|
||||
* @event sl-after-show - Emitted after the tooltip has shown and all animations are complete.
|
||||
* @event sl-hide - Emitted when the tooltip begins to hide.
|
||||
* @event sl-after-hide - Emitted after the tooltip has hidden and all transitions are complete.
|
||||
* @event sl-after-hide - Emitted after the tooltip has hidden and all animations are complete.
|
||||
*
|
||||
* @csspart base - The component's base wrapper.
|
||||
*
|
||||
|
|
Ładowanie…
Reference in New Issue