Class: DialogButtons

Kekule.Widget. DialogButtons

new DialogButtons()

Enumeration of predefined dialog buttons.
Source:

Methods

(static) isNegative(btn) → {Bool}

Whether button is a negative one (e.g. Cancel, No).
Parameters:
Name Type Description
btn String
Source:
Returns:
Type
Bool

(static) isPositive(btn) → {Bool}

Whether button is a positive one (e.g. Ok, Yes).
Parameters:
Name Type Description
btn String
Source:
Returns:
Type
Bool