sets the view header
webix.ui({
view:"popup",
height:250,
head:"My Window",
body:{
template:"Some text"
}
}).show();
If head
value is a string, then Webix template is used to build the head.
If you need a more complex header, define the needed configuration through object definition:
head:{
view:"toolbar", cols:[
{view:"label", label: "This window can be closed" },
{ view:"button", label: 'Close Me', click:"$$('win3').close();"}
]}
}
Back to top