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: "text",
name: "text",
label: "text",
value: "I am a nice text"
}
]
});
form.getItem("text").getProperties();
The returned object of the Text control looks like:
{
height: "content",
helpMessage: "",
hiddenLabel: false,
inputType: "text",
label: "text",
labelPosition: "top",
labelWidth: "",
padding: 0,
width: "content"
}
You will find the description of these properties here.
Change log:
added in v7.0