ElementsContent & layout
AddNotify
Adds an in-page control that can create a configured notification.
AddNotify
What it does
Adds an in-page control that can create a configured notification.
When to use it
Use it when a page action should demonstrate or trigger XLQP notifications.
ElementFunction:AddNotify(NotifyConfig)
RightGroup:AddNotify({
Name = "Notify Element",
Content = "Sends a notification with a synced progress line.",
ButtonText = "Send Notify",
Time = 5,
Pos = "BottomRight",
Buttons = {
{Name = "OK", Callback = function() print("notify ok") end}
}
})Behavior and return value
Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.