function Snippets.ListItem

  text: Datex.CompatValue,
  icon: string,
  extra?: string | UnytPenPad,
  has_sub_menu: boolean,
  disabled: boolean

creates list item div (like context menu items)

function Snippets.Header

  title?: string,
  title_color?: string,
  left_elements?: HTMLElement[],
  right_elements?: HTMLElement[],
  expanded_elements?: HTMLElement[],
  absolute: any,
  margin_top?: string,
  margin_bottom: string,
  expanded: any
):  {header: HTMLElement,title_el: HTMLElement,top_element: HTMLElement,expanded_element: HTMLElement,};

creates a header element with title and functions

Did this doc help you?

Privacy Policy

Help us improving our docs

Our documentations are fully open source. Something is wrong or unclear? Edit documentation.

Make a contribution