diff --git a/ldoc-stubs/alerts.lua b/ldoc-stubs/alerts.lua index 9b541d84..6fecdd7c 100644 --- a/ldoc-stubs/alerts.lua +++ b/ldoc-stubs/alerts.lua @@ -1,9 +1,9 @@ ---- Module for interacting with playback volume. The Bluetooth and wired outputs store their current volume separately; this API only allows interacting with the volume of the currently used output device. +--- Module for showing transient popups over the current screen. -- @module alerts local alerts = {} ---- Returns the current volume as a percentage of the current volume limit. +--- Shows a new alert, replacing any already visible alerts. -- @tparam function constructor Called to create the UI for the alert. A new default root object and group will be set before calling this function.i Alerts are non-interactable; the group created for the constructor will not be granted focus. function alerts.show(constructor) end