new DialogButtons()
Enumeration of predefined dialog buttons.
Methods
-
(static) isNegative(btn) → {Bool}
-
Whether button is a negative one (e.g. Cancel, No).
Parameters:
Name Type Description btn
String Returns:
- Type
- Bool
-
(static) isPositive(btn) → {Bool}
-
Whether button is a positive one (e.g. Ok, Yes).
Parameters:
Name Type Description btn
String Returns:
- Type
- Bool