- integrateBreakpoints
- renderInlineNotifications
- renderLoadingSpinner
- renderModals
- renderToasts
- showModal
- showNotification
- showToast
▸ integrateBreakpoints(): void
void
▸ renderInlineNotifications(target
): void
Starts a rendering host for inline notifications. Should only be used by the app shell. Under normal conditions there is no need to use this function.
Name | Type | Description |
---|---|---|
target |
HTMLElement | null |
The container target that hosts the inline notifications. |
void
▸ renderLoadingSpinner(target
): () => any
Name | Type |
---|---|
target |
HTMLElement |
fn
▸ (): any
any
▸ renderModals(modalContainer
): void
Name | Type |
---|---|
modalContainer |
HTMLElement | null |
void
▸ renderToasts(target
): void
Starts a rendering host for toast notifications. Should only be used by the app shell. Under normal conditions there is no need to use this function.
Name | Type | Description |
---|---|---|
target |
HTMLElement | null |
The container target that hosts the toast notifications. |
void
▸ showModal(extensionId
, props?
, onClose?
): () => void
Shows the provided extension component in a modal dialog.
Name | Type | Description |
---|---|---|
extensionId |
string |
The id of the extension to show. |
props |
Record <string , any > |
The optional props to provide to the extension. |
onClose |
() => void |
The optional notification to receive when the modal is closed. |
fn
The dispose function to force closing the modal dialog.
▸ (): void
void
▸ showNotification(notification
): void
Displays an inline notification in the UI.
Name | Type | Description |
---|---|---|
notification |
NotificationDescriptor |
The description of the notification to display. |
void
▸ showToast(toast
): void
Displays a toast notification in the UI.
Name | Type | Description |
---|---|---|
toast |
ToastDescriptor |
The description of the toast to display. |
void