Constructor # new module:Button(positionDefinition, optionsopt) Button constructor Parameters: Name Type Attributes Description positionDefinition PositionDefinition Position of the top-left corner options ButtonOptions <optional> Specific options Source: modules/button/button.js, line 15 Extends module:Input Members # (static) defaultOptions :ButtonOptions Type: ButtonOptions Source: modules/button/button.js, line 102 # (static) MARGIN :Number Margin around the text Type: Number Source: modules/button/button.js, line 114 # height Get this button's height Source: modules/button/button.js, line 63 # size Computer button size Source: modules/button/button.js, line 42 # value Return this button's text Overrides: module:Input#value Source: modules/button/button.js, line 79 # value Change this button's text Overrides: module:Input#value Source: modules/button/button.js, line 87 # width Get this button's width Source: modules/button/button.js, line 55 Type Definitions # ButtonOptions Type: Object Properties Name Type Attributes Default Description value String <optional> "" Text of the button Source: modules/button/button.js, line 93