Mixin for a very simple content pane to embed an HTML fragment.
By mixing this class into a widget, the widget can have the ability to embed an external HTML fragment and to run the parser.
See the dojox/mobile/_ContentPaneMixin reference documentation for more information.
If true, executes scripts that is found in the content.
If true, external content specified with the href property is not loaded at startup time. It can be loaded by calling load().
If true, runs the parser when the load completes.
If true, shows progress indicator while loading an HTML fragment specified by href.
Parameter | Type | Description |
---|---|---|
data | String | DomNode |
Parameter | Type | Description |
---|---|---|
href | String |
An error handler called when load fails.
Parameter | Type | Description |
---|---|---|
err | undefined |
Finds script tags and executes the script.
Parameter | Type | Description |
---|---|---|
html | String | The HTML input. |
The given HTML text from which <script> blocks are removed.
A handler called when load completes.
Parameter | Type | Description |
---|---|---|
response | String |
Stub method to allow the application to connect to the loading of external content (see load()). Called when parsing is done and the content is ready.