Skip to main content

beforeChangeProperties

fires before configuration attributes of the control are changed dynamically

beforeChangeProperties: (properties: object) => boolean | void;

Parameters:

Returns:

Return false to cancel the default action of the event; otherwise - true.

Example

form.getItem("datepicker").events.on("beforeChangeProperties", function(properties) {
console.log("beforeChangeProperties", properties);
return true;
});

Change log:

added in v7.0