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: "slider",
name:"slider",
label: "slider",
labelWidth: "50px",
min: 0,
max: 100
}
]
});
form.getItem("slider").getProperties();
The returned object of the Slider control looks like:
{
height: "content",
helpMessage: "",
hiddenLabel: false,
inverse: false,
label: "slider",
labelPosition: "top",
labelWidth: "50px",
majorTick: undefined,
max: 100,
min: 0,
mode: "horizontal",
padding: 0,
range: false,
step: 1,
tick: undefined,
tickTemplate: undefined,
tooltip: true,
width: "content"
}
You will find the description of these properties here.
Change log:
added in v7.0