immersive-home/docs/reference/EventNotify.md
2024-03-17 00:14:31 +01:00

1.1 KiB

EventNotify

Inherits: Event

Description

Emits a message to the user

Properties

Name Type Default
message String
type int

Enums

enum Type

Type.INFO = 0

The message is informational

Type.SUCCESS = 1

The message is a success message

Type.WARNING = 2

The message is a warning

Type.DANGER = 3

The message is an error

Property Descriptions

message: String

The message to emit

type: int

The type of message to emit