AppNotificationManager Class
Subclass of NotificationManager
in @itwin/core-frontend
to be used to initialize IModelApp
.
This implementation uses themed react components to display alerts, messages, prompts and tooltips.
await IModelApp.startup({
notifications: new AppNotificationManager()
});
Extends
Methods
Name | Description | |
---|---|---|
constructor(): AppNotificationManager | ||
_showToolTip(el: HTMLElement, message: string | HTMLElement, pt?: Readonly<WritableXAndY>, options?: ToolTipOptions): void Protected | Show a ToolTip window. | |
clearToolTip(): void | Clear the ToolTip if it is currently open. | |
Hide a InputField message. | ||
Hides the Pointer message. | ||
End an activity message. | ||
Output a MessageBox and wait for response from the user. | ||
Output an activity message to the user. | ||
Output a message and/or alert to the user. | ||
outputPrompt(prompt: string): void | Output a prompt to the user. | |
outputPromptByKey(key: string): void | Output a prompt, given an i18n key. | |
setToolAssistance(instructions: ToolAssistanceInstructions): void | Setup tool assistance instructions for a tool. | |
Set up for activity messages. | ||
Update message position created with OutputMessageType.Pointer. |
Properties
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.