A simple button that can have an icon. Button can be twoState and can have a badge with a number, which can be useful for displaying the number of new messages, etc.
Related sample: Form. All controls
Adding ButtonâYou can easily add a Button control during initialization of a form:
const form = new dhx.Form("form_container", {
rows: [
{
type: "button",
name: "button",
text: "Send",
size: "medium",
view: "flat",
color: "primary"
}
]
});
Propertiesâ
View the full list of configuration properties of the Button control.
Working with ButtonâYou can manipulate a Button control by using methods or events of the object returned by the getItem() method.
For example, you can disable a control on a page:
form.getItem("button").disable();
Methodsâ
Check the full list of methods of the Button control.
EventsâCheck the full list of events of the Button control.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4