dhx.ui.popup

Methods

  • adjust - adjusts the component to the size of the outer parent HTML container
  • attachEvent - attaches custom handler to inner event
  • bind - binds components
  • blockEvent - blocks event triggering
  • callEvent - calls inner event
  • close - removes a window
  • define - sets configuration property or a hash of properties
  • destructor - destructs an object
  • detachEvent - detaches custom code from handler
  • getBody - gets the ui view of the window body
  • getHead - gets the ui view of the window header
  • getNode - returns main html container of view
  • getParent - returns parent object of current view
  • hasEvent - checks whether a component has an event
  • hide - hides view
  • isVisible - returns true if current view is visible
  • mapEvent - routes events from one object to another
  • resize - adjusts view to the new size
  • resizeChildren - adjusts view and his children to a new size.
  • setPosition - sets window's position
  • show - makes view visible
  • unblockEvent - enables event triggering

Events

  • onHide - fires when window is hidden
  • onShow - fires when window is shown

Properties

  • animate - defines animation on view change (object with direction, type and subtype properties) or disables animation (false)
  • body - the content of window body: template or view
  • container - html container or its id where view needs initializing
  • css - class name for view container
  • gravity - view gravity (1 by default)
  • headHeight - defines the header height (43 by default)
  • head - sets header view
  • header - the content of window header: template or view
  • height - view height
  • hidden - sets whether a view will be hidden initially
  • id - view id
  • left - the left offset of a window (100)
  • modal - switches window modality
  • move - makes view movable
  • on - allows to attach custom handlers to inner events of the component
  • padding - window padding
  • scroll - enables scrolling
  • top - the top offset of a window (100)
  • width - view width