Notice
โบ (constructor)
Notice.(constructor)
Constructs a new instance of the Notice
class
Signature:
constructor(message: string | DocumentFragment, duration?: number);
Parameters
Parameter | Type | Description |
---|---|---|
message | string | DocumentFragment | The message to be displayed, can either be a simple string or a |
duration | number | (Optional) Time in milliseconds to show the notice for. If this is 0, the Notice will stay visible until the user manually dismisses it. |