getProperties()
returns an object with the available configuration attributes of the control
getProperties(): object;
Returns:
An object with the available attributes of the control and their values.
Example
const form = new dhx.Form("form_container", {
rows: [
{
type: "button",
name: "button",
text: "Send",
size: "medium",
view: "flat",
submit: true,
color: "primary"
}
]
});
form.getItem("button").getProperties();
The returned object of the Button control looks like:
{
circle: false,
color: "primary",
full: false,
height: "content",
icon: "",
loading: false,
padding: 0,
size: "medium",
submit: true,
text: "Send",
url: "",
view: "flat",
width: "content"
}
You will find the description of these properties here.
Change log:
added in v7.0