The following markup represents the basic HTML structure of the component and the CSS classes it uses. These CSS classes can be used to add custom styling to this component, in order indicate its current state in a more visual way. When this component is marked as invalid by the app, it will be rendered with the CSS class ui-state-error. Then this component is marked as required, the main input field receives the CSS class ui-state-required, otherwise, it receives the CSS class ui-state-optional. The indicatorPosition attribute determines where this indicator text is going to the rendered the possible values are left, right, top, bottom, labelLeft, labelRight, and none. When, this component is not marked as required, then the text specified in the optionalIndicator is going to be rendered. The requiredIndicator attribute specifies the text to be displayed next to the main input field when this component is marked as required. The position specified by labelPosition will determine where this label is going to be rendered the possible values are left, right, top, bottom, none and inField (to render the label in the field itself). The text specified in the label attribute will be rendered next to the main input field of this component. In the example below, a color box is created with CSS, and an underscore character is used only to give some width to the box since this character is not part of the value string, we add the ui-combobox-item-ignore CSS class to it. You can add any arbitrary content, and if some of that content is only there for presentation purposes and is not part of the value string, you can use the ui-combobox-item-ignore CSS class to ignore that text. It is possible to customize the way in which the option items are displayed by means of the 'row' facet. The following ARIA roles are supported: textbox. Keyboard acceleration supported (after typing a character the first item that starts with such character is highlighted). ![]() However, the component's internal methods and variables can be accessed in this way, including the underlying jQuery object and objects from underlying Javascript libraries (if applicable), and can be used for whatever purpose a developer might have in mind.Īrrow keys supported to navigate options up and down. ![]() ![]() This component doesn't have a client-side API made specifically to be used by application developers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |