Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dijit/_Contained.js

  • Provides:

    • dijit._Contained
  • dijit._Contained

    • type
      Function
    • summary
      Mixin for widgets that are children of a container widget
    • example
       	// make a basic custom widget that knows about it's parents
      	dojo.declare("my.customClass",[dijit._Widget,dijit._Contained],{});
  • dijit._Contained.getParent

    • summary
      Returns the parent widget of this widget, assuming the parent
      specifies isContainer
    • type
      Function
  • dijit._Contained._getSibling

    • parameters:
      • which: (typeof String)
        Either "next" or "previous"
    • returns
      dijit._Widget
    • summary
      Returns next or previous sibling
    • tags:
    • type
      Function
  • dijit._Contained.getPreviousSibling

    • returns
      dijit._Widget
    • summary
      Returns null if this is the first child of the parent,
      otherwise returns the next element sibling to the "left".
    • type
      Function
  • dijit._Contained.getNextSibling

    • returns
      dijit._Widget
    • summary
      Returns null if this is the last child of the parent,
      otherwise returns the next element sibling to the "right".
    • type
      Function
  • dijit._Contained.getIndexInParent

    • returns
      int
    • summary
      Returns the index of this widget within its container parent.
      It returns -1 if the parent does not exist, or if the parent
      is not a dijit._Container
    • type
      Function
  • dijit

    • type
      Object