Documentation

getHead

gets the ui view of the window header

object getHead();

Returns

objectthe window header object

See also

  • api
  • articles
  • 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.

    Back to top