getProperties()
returns an object with the available configuration properties of the control and their values
getProperties(): object;
Returns:
An object with the available properties of the control and their values.
Example
const form = new dhx.Form("form_container", {
css: "dhx_widget--bordered",
padding: "40px",
rows: [
{
type: "container",
name: "grid",
padding: "12px 0px",
height: "400px",
},
]
});
form.getItem("container").getProperties();
The returned object of the Container control looks like:
{
css: undefined,
height: "content",
helpMessage: "",
hiddenLabel: false,
label: "",
labelPosition: "top",
labelWidth: "",
padding: "20px",
width: "content"
}
You will find the description of these properties here.
Change log:
added in v7.2