RapidContext
Access > Discovery > Insight
www.rapidcontext.com
Extends:
RapidContext.Widget
The button widget class. Used to provide a simple push
button, using the <button> HTML element.
Source code:
RapidContext_Widget_Button.js
RapidContext.Widget.Button(attrs)
Creates a new button widget.
|
setAttrs(attrs)
Updates the widget or HTML DOM node attributes.
|
onclick()
Emitted when the button has been clicked.
|
JavaScript:
var closeBtn = RapidContext.Widget.Button({ icon: "OK", highlight: true }, "Close");
User Interface XML:
<Button id="closeBtn" icon="OK" highlight="true">Close</Button>