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

dojo/NodeList-html.js

  • Provides:

    • dojo.NodeList-html
  • Requires:

    • dojo.html in common
  • dojo.NodeList

    • type
      Function
  • dojo.NodeList.html

    • parameters:
      • content
      • params: (typeof Object)
    • returns
      dojo.NodeList
    • summary
      see <code>dojo.html.set()</code>. Set the content of all elements of this NodeList
    • description
      Based around `dojo.html.set()`, set the content of the Elements in a
      NodeList to the given content (string/node/nodelist), with optional arguments
      to further tune the set content behavior.
    • example
       dojo.query(".thingList").html("<li dojoType='dojo.dnd.Moveable'>1</li><li dojoType='dojo.dnd.Moveable'>2</li><li dojoType='dojo.dnd.Moveable'>3</li>",
       {
       	parseContent: true,
       	onBegin: function(){
       		this.content = this.content.replace(/([0-9])/g, this.id + ": $1");
       		this.inherited("onBegin", arguments);
       	}
       }).removeClass("notdone").addClass("done");
    • type
      Function
  • dojo.NodeList-html

    • summary
      Adds a chainable html method to dojo.query() / Nodelist instances for setting/replacing node content
    • type
      Object
  • dojo

    • type
      Object