show

makes the component visible

void show( [HTMLElement node,object position,string point] );
node
HTMLElementoptional, HTML element where the popup is shown position
objectoptional, object that may contain pos, x and y properties (see details) point
stringoptional, the popup pointer (arrow) direction ("top", "left", "right", "bottom")

Example

// specifying an HTML node near which a window will be shown
$$("window").show(node); 
 
// placing the window above the node
$$("window").show(node, {pos:"top"});
 
// setting the window's position
$$("window"). show({
    x:300, // left offset from the right side
    y:50 // top offset
});

Details

Position

The properties of the position object are:

Position object may be passed as the first argument instead of node.

Method usage

This method helps showing the windows that were hidden before (initially or with the help of the hide() method). To show a window you can use:

webix.ui({
  view:"window",  
  hidden:false, /* ! */
  head:"My Window",
  body:{
    template:"Some text"    
  }
});
See also
  • API
  • Articles
  • 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.
    If you have not checked yet, be sure to visit site of our main product Webix popular javascript framework and page of js window product.