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

dojox/widget/DynamicTooltip.js

  • Provides:

    • dojox.widget.DynamicTooltip
  • Requires:

    • dijit.Tooltip in common
  • dojox.widget.DynamicTooltip

    • type
      Function
    • chains:
      • dijit.Tooltip: (prototype)
      • dijit.Tooltip: (call)
    • summary
      Extention of dijit.Tooltip providing content set via XHR
      request via href param
  • dojox.widget.DynamicTooltip.hasLoaded

    • type
      Boolean
    • summary
      false if the contents are yet to be loaded from the HTTP request
  • dojox.widget.DynamicTooltip.href

    • type
      String
    • summary
      location from where to fetch the contents
  • dojox.widget.DynamicTooltip.label

    • type
      String
    • summary
      contents to diplay in the tooltip. Initialized to a loading icon.
  • dojox.widget.DynamicTooltip.preventCache

    • type
      Boolean
    • summary
      Cache content retreived externally
  • dojox.widget.DynamicTooltip.postMixInProperties

    • type
      Function
  • dojox.widget.DynamicTooltip._setLoadingLabel

    • summary
      Changes the tooltip label / contents to loading message, only if
      there's an href param, otherwise acts as normal tooltip
    • type
      Function
  • dojox.widget.DynamicTooltip._setHrefAttr

    • parameters:
      • href: (typeof String|Uri)
        url to the content you want to show, must be within the same domain as your mainpage
    • summary
      Hook so attr("href", ...) works.
    • description
      resets so next show loads new href
    • type
      Function
  • dojox.widget.DynamicTooltip._setHrefAttr.href

    • type
      url
    • summary
      to the content you want to show, must be within the same domain as your mainpage
  • dojox.widget.DynamicTooltip.loadContent

    • parameters:
      • node
    • summary
      Download contents of href via XHR and display
    • description
      1. checks if content already loaded
      2. if not, sends XHR to download new data
    • type
      Function
  • dojox.widget.DynamicTooltip.refresh

    • summary
      Allows re-download of contents of href and display
      Useful with preventCache = true
    • type
      Function
  • dojox.widget.DynamicTooltip.open

    • parameters:
      • target: (typeof DomNode)
    • summary
      Display the tooltip; usually not called directly.
    • type
      Function
  • dojox.widget.DynamicTooltip._connectNodes

  • dojox.widget

    • type
      Object
  • dojox

    • type
      Object