Attributes |
Name | Required | Request-time | Type | Description |
cssClass | false | true | java.lang.String | Sets a class to give to the container of the icon, to provide an implementation for the icon. Note that the preferred method of setting the icon's image is via the image attribute. |
data | false | true | java.util.Map | 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; . |
id | false | true | java.lang.String | Identifies the component instance. |
image | false | true | java.lang.String | Sets the image to display for the icon. Values are taken from the suffix of the Bootstrap icon CSS classes. For example, to display the edit icon you would reference the icon-edit CSS class by setting the value edit . If an icon image is referenced for cssClass and image , both icons are shown in the component. |
label | false | true | java.lang.String | Sets the text to display alongside the icon. |
target | false | true | java.lang.String | Sets the target window in which the URL is opened. The default value is self . Possible values are blank , self , parent , top , and a unique frame's name. |
url | false | true | java.lang.String | Sets the URL navigated to when the icon is clicked. |