body

the contents of the context popup window

object body;

Example

webix.ui({
  view: "context",
  body: {  },
  ...  // context config
});

Related samples

Details

The body property of a context popup menu may contain HTML code as well as Webix components.

  1. Context with HTML object:
webix.ui({
  view: "context",
  body: {
    content: "details"  // points to the ID of the div container with content
  },
  master: "areaA"
});
  1. Context with Webix component:
webix.ui({
  view: "context",
  body: {
    view: "toolbar", cols: [
      { view: "button", value: "Button1", width: 100 },
      { view: "button", value: "Button2", width: 100 },
    ]
  }
});
See also
  • Articles
  • Back to top