opens a UI element in the fullscreen mode
element | WebixView|string|HTMLElement | the Webix view, HTML element or their IDs |
settings | object | the configuration settings of the header that will be shown above the UI element in the fullscreen mode |
webix.fullscreen.set("datagrid");
Only one UI element can be in the fullscreen mode. If set() is called when some element is in fullscreen, that element is minimized.
You can add a caption to the header that will be shown above the UI element in the fullscreen mode. You can:
webix.fullscreen.set("list",{ head:"Full list" });
webix.fullscreen.set("list", {
head:{
view:"toolbar", elements:[
{ template:"Awesome big list" },
{ view:"icon", icon:"mdi mdi-fullscreen-exit", click:function(){
webix.fullscreen.exit();
} }
]
}
});