Displays a button object with a text label. You can define the appearance properties of the button, such as background color and border color, width and radius and obviously add actions to the Tap event to perform any actions. Double-click the button to change its caption.
Button object supports most of the Generic Object Properties, plus the ones listed below. To edit properties of a button object, select it and use the selection inspector at the right of your project window.
|Title||The caption for the button|
|Font||The font of the caption|
|Size||The text size of the caption|
|Color||Defines the text color of the caption|
|Border Color||The color of the border of the button|
|Border Width||The width of the border of the button, in pixels|
|Corner Radius||The radius of the corners of the button, in pixels|
Button object triggers all Generic Events. To edit event handlers for a button object, select it and use the Interactivity Panel on the right side of the project window.
Button object can be used as target of most Generic Actions
Here’s an example of how a button with title “Click Me” is exported on the html page:
<button id="obj4" type="button" role="button" class="SCPageObject SCButton">Click Me</button>