getHead

gets the ui view of the window header

object getHead();

Returns

objectthe window header object

Example

win = webix.ui({
  view:"window",
  head:"My text",
  body:"My content", 
}).show();
 
win.getHead().setHTML("New text");

Details

The method returns the object of a Webix component that currently builds window head, so you can use its API to modify the window head.

If head is defined via a string, then Webix template is used.
To change template text dynamically, setHTML method is applied.

See also
  • API
  • Articles
  • Back to top
    If you have not checked yet, be sure to visit site of our main product Webix widget library and page of javascript context menu product.