mobile.html.parser
mobile.html.parser defines functions to instantiate widgets from DOMNodes.
Methods
instantiate(list, defaults)
Instantiates, for each DOMNode in list, the widget defined in its data-mendix-type property. If a widget has a startup method defined, it is called as well.
Parameters
	
		| Name | Type | Description | 
	
		| list | Array | A list of DOMNodes to turn into widgets. | 
	
		| defaults | Object | Default attributes to set on each instantiated widget. | 
Returns
	
		| Type | Description | 
	
		| Array | The instantiated widgets | 
parse(root, params)
Instantiate widgets from all <div> nodes under root that have a data-mendix-type property (including root itself).
Parameters
	
		| Name | Type | Description | 
	
		| root | DOMNode | The node to start parsing from. | 
	
		| params | Object | Default attributes to set on each instantiated widget. | 
Returns
	
		| Type | Description | 
	
		| Array | The instantiated widgets |