JavaScript API Reference

Ab.view.Component object

File: ab-component.js

The Component object provides properties and functions that are common for all UI controls and panels.  Objects of the Component class are never created directly.

Properties

  • type (String): Contains the actual control type name, such as 'form' or 'grid'.
  • controlId (String): Contain unique control ID that can be used to find the control in the view.
  • parentElementId (String): Contain ID attribute of the control parent HTML DOM element.
  • parentElement (DOM reference): Contain the reference to the control parent HTML DOM element.
  • restriction (JS object): Contain the restriction applied to this control by the view.