gets values from the property sheet
object | returns an object with form values: the data entered by the user or the initial data from the value property |
function get_form() {
var values = $$('myproperties').getValues();
console.log(values);
}
To get the value of some specific element within the property sheet, specify its ID.
webix.ui({
view:"property",
id:"myproperties",
elements: [
{view:"text", id:"title", placeholder:"Enter film title"},
{...},
{view:"button", click:get_title}
]
});
function get_title() {
var title = $$('myproperties').getValues().title;
console.log(title);
}