docs » hs.alert
Simple on-screen alerts
- Variables - Configurable values
- defaultStyle
- Functions - API calls offered directly by the extension
- closeAll
- closeSpecific
- show
Signature | hs.alert.defaultStyle[] |
---|---|
Type | Variable |
Description | A table defining the default visual style for the alerts generated by this module. |
Signature | hs.alert.closeAll([seconds]) |
---|---|
Type | Function |
Description | Closes all alerts currently open on the screen |
Parameters |
|
Returns |
|
Signature | hs.alert.closeSpecific(uuid, [seconds]) |
---|---|
Type | Function |
Description | Closes the alert with the specified identifier |
Parameters |
|
Returns |
|
Notes |
|
Signature | hs.alert.show(str, [style], [screen], [seconds]) -> uuid |
---|---|
Type | Function |
Description | Shows a message in large words briefly in the middle of the screen; does tostring() on its argument for convenience. |
Parameters |
|
Returns |
|
Notes |
|