set

opens a UI element in the fullscreen mode

object set(object|string|HTMLElement element, [object settings] );
element
object|string|HTMLElementthe Webix view, HTML element or their IDs settings
objectthe configuration settings of the fullscreen container
objectobject of a window that contains the view in the fullscreen mode

Example

webix.fullscreen.set("chart");

Related samples

Details

Only one UI element can be in the fullscreen mode. If set() is called when some element is in fullscreen, that element is minimized.

Settings for the fullscreen container

Here is what you can do:

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();
            } }
        ]
    }
});
webix.fullscreen.set("list", { head: false });

In this case, you will be able to exit fullscreen mode by calling webix.fullscreen.exit().

webix.fullscreen.set("chart",{
  css: "fullscreen", 
  head: "Fullscreen enabled"
});
See also
  • API
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.