autowidth - ( boolean) sets the mode in which the button width automatically adjusts to the button content.badge - ( number/string) adds an orange circle that notifies about the number of new messages for an icon button.css - ( string) name of CSS class applied to a button To use custom icons, specify a data-icon value that has a unique name like myapp-email and the button plugin will generate a class by prefixing ui-icon- to the.click - ( function) defines a function that will be executed on clicking the button (another possibility is to attach an event handler to onItemClick using the button ID).Like regular text, icon fonts can be styled using CSS, which makes. popup - ( string) defines the ID of a popup window that will be shown on button click Icon fonts are fonts that are made up of symbols, as opposed to regular letters and numbers.align - ( string) positions a button with relation to a parent view.image - ( string) sets a path to the button icon.inputWidth - ( number) sets the width of the text on the button and adjusts button width to it.width - ( number) sets the width of the button. A button with the text Add money with and the. After you get up and running, you can place Font Awesome icons just about anywhere with the tag: Example of refresh fa-refresh.type - ( string) defines the type of the button The following Apple Pay button values are available starting with Apple Pay on the Web version 10: add-money.label - ( string) defines the text or/and HTML markup for the regular button as well as for buttons of image and icon types and their variations add the icon font class or classes add the color class put roleimg to let screen reader users know what role the element is playing.add an icon to a submit button submitButton(Update View, icon icon(refresh)). If this library is added just add the HTML css class fa fa-refresh to any element to add the icon. Icons are drawn from the Font Awesome and Glyphicons libraries. value - ( string) defines the text displayed on standard-type buttons First make sure you have added Font Awesome Icon library.This are the configuration properties of Button: Related sample: Buttons - AutoWidth Button Configuration It's possible to adjust the width of a button to the size of its content, using the autowidth property set to true. Webix Buttons comprise several types and build-in styles.Ī type defines the content of the button.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |