setupActivityMessageValues MethodStatic

Sets values on _OngoingActivityMessage to be referenced when displaying an ActivityMessage.

setupActivityMessageValues(message: HTMLElement | string, percentage: number, restored?: false | true): boolean

Parameter Type Description
message HTMLElement | string Message of the process that ActivityMessage is tracking
percentage number Progress made by activity in percentage
restored false | true True if original ActivityMessage has been closed and
is now being restored from the status bar.

Returns - boolean

true if details is valid and can be used to display ActivityMessage

Defined in

Last Updated: 13 June, 2024