Attributes |
Name | Required | Request-time | Type | Description |
cssClass | false | true | java.lang.String | Sets a CSS class for styling this component. These styles override the ones set by the primary attribute. |
data | false | true | java.lang.Object | Takes a set of data and passes it as HTML data attributes. For example, the HashMap<"class-name", foo> would render as the attribute data-class-name = foo; . |
disabled | false | true | boolean | Sets whether the component is disabled. The default value is false . |
href | false | true | java.lang.String | Sets the URL navigated to when the button is clicked. |
icon | false | true | java.lang.String | Sets the icon to display on the button based on the icon CSS class value given. Possible CSS class values can be found at here. |
iconAlign | false | true | java.lang.String | Sets the alignment for the button's icon. The default value is left . |
name | false | true | java.lang.String | Sets the button's name. |
onClick | false | true | java.lang.String | Sets a function to be called on a user clicking the button. |
primary | false | true | java.lang.Object | Sets whether to apply the primary btn CSS styling to the button. If the type attribute is set to submit , this value is set to true . For all other types, the value is set to false by default. |
type | false | true | java.lang.String | Sets the button's type. Possible values are button , submit , cancel and reset . The default value is button . |
useDialog | false | true | boolean | Sets whether to open a dialog window with the href location when a user clicks the button. The default value is false . |
value | false | true | java.lang.String | No Description |