IMessageHandler Interface
In This Article
An object that contains functions to process error, warning and informational messages.
#Declaration
TypeScript
export interface IMessageHandler
#Remarks
The IMessageHandler object is used to set the MessageHandler property value.
#Properties
#processError Property
Specifies a function to handle the error messages.
#Declaration
TypeScript
processError: (message: string, showForUser?: boolean, prefix?: string, element?: Element) => void
#Property Value
Type |
---|
(message: string, show |
#processMessage Property
Specifies a function to handle the informational messages.
#Declaration
TypeScript
processMessage: (message: string, showForUser?: boolean, element?: Element) => void
#Property Value
Type |
---|
(message: string, show |
#processWarning Property
Specifies a function to handle the warning messages.
#Declaration
TypeScript
processWarning: (message: string, showForUser?: boolean, element?: Element) => void
#Property Value
Type |
---|
(message: string, show |