dojox/mobile/parser (version 1.10)

Summary

A lightweight parser.

dojox/mobile/parser is an extremely small subset of dojo/parser. It has no additional features over dojo/parser, so there is no benefit in terms of features by using dojox/mobile/parser instead of dojo/parser. However, if dojox/mobile/parser's capabilities are enough for your application, using it could reduce the total code size.

See the dojox/mobile/parser reference documentation for more information.

Method Summary

  • instantiate(nodes,mixin,options) Function for instantiating a list of widget nodes.
  • parse(rootNode,options) Function to handle parsing for widgets in the current document.

Methods

instantiate(nodes,mixin,options)
Defined by dojox/mobile/parser

Function for instantiating a list of widget nodes.

Parameter Type Description
nodes DomNode[]

The list of DomNodes to walk and instantiate widgets on.

mixin Object
Optional
options Object
Optional
parse(rootNode,options)
Defined by dojox/mobile/parser

Function to handle parsing for widgets in the current document. It is not as powerful as the full parser, but it will handle basic use cases fine.

Parameter Type Description
rootNode DomNode

The root node in the document to parse from

options Object
Optional
Error in the documentation? Can’t find what you are looking for? Let us know!