1. Attributes
renderTo: Store the HTML object generated by the current object in the specified object
text: Get the button name
minWidth: The minimum width of the button
hidden: Hide or show the button (true or false)
2. Construction parameters
handler: Specify a function handle to be called when the default event is triggered. At this time, the default event is click
listeners: Before the object is initialized, bind a series of events Certainly.
3. Function
getBogy(): to the Body object
onReady(): execute this function when the page is loaded
getText(): get the button name
setText("Button name "): Set button name
4. Application examples