dhx.ui.iframe

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
  • define - sets configuration property or a hash of properties
  • destructor - destructs an object
  • detachEvent - detaches custom code from handler
  • getNode - returns main html container of view
  • getParent - returns parent object of current view
  • getWindow - gets the window object of an iframe
  • hasEvent - checks whether a component has an event
  • hide - hides view
  • isVisible - returns true if current view is visible
  • load - loads the document you'd like to show in an iframe
  • mapEvent - routes events from one object to another
  • resize - adjusts view to the new size
  • show - makes view visible
  • unblockEvent - enables event triggering

Events

Doesn't have any

Properties

  • animate - defines animation on view change (object with direction, type and subtype properties) or disables animation (false)
  • container - html container or its id where view needs initializing
  • css - class name for view container
  • gravity - view gravity (1 by default)
  • height - view height
  • hidden - sets whether a view will be hidden initially
  • id - view id
  • loading - enables/disables loading cover
  • on - allows to attach custom handlers to inner events of the component
  • scroll - enables scrolling
  • src - URL of the document you'd like to show in an iframe
  • waitMessage - defines whether the loading cover should be displayed while loading (actual in case of 'src' parameter)
  • width - view width