Notification

Here is an example of Aty Scripts - UI Kit's notification system usage.

Notification Usage Guide

Sending a Notification

To send a notification, use the following function:

aty.sendNotify("Purchasing", "You are purchasing a drink.", "info", 8000)

Notification Parameters

Title

  • "Purchasing" The title of the notification. Type: string

Description

  • "You are purchasing a drink." Detailed instructions or information displayed within the notification. Type: string

Notification Type

  • "info" A unique identifier for the pop-up, used to trigger it programmatically. Type: string Colors: info, error, success

Length

  • 8000 The time that will the notification will be on for.. Type: number

Last updated