Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 72 lines (52 sloc) 3.895 kb
fcc4fff8 »
2011-11-20 monster commit from moinconverter, which is always done prior to the …
1 .. _dojox/mobile/ContentPane:
d608cc59 »
2011-11-20 \r\n -> \n conversion.
2
f89feb82 »
2011-11-28 regex change of level 1 headers to ====\nTEXT\n==== and level 2 heade…
3 ========================
d3c6181d »
2013-03-13 Use slash for modules
4 dojox/mobile/ContentPane
9dd52dc6 »
2011-11-20 mondo whitespace change
5 ========================
d608cc59 »
2011-11-20 \r\n -> \n conversion.
6
9dd52dc6 »
2011-11-20 mondo whitespace change
7 :Authors: Yoshiroh Kamiyama
8 :Developers: Yoshiroh Kamiyama
8e258548 »
2011-12-13 :Available: --> :since:
9 :since: V1.7
d608cc59 »
2011-11-20 \r\n -> \n conversion.
10
c15cbf24 »
2011-12-20 standardize spacing on directives like .. js
11 .. contents ::
9dd52dc6 »
2011-11-20 mondo whitespace change
12 :depth: 2
d608cc59 »
2011-11-20 \r\n -> \n conversion.
13
b3e89005 »
2012-04-16 V1.8 updates
14 Introduction
15 ============
16
d3c6181d »
2013-03-13 Use slash for modules
17 ContentPane is a very simple and lightweight content pane to embed an HTML fragment. It can be regarded as a <div> element, but has ability to embed an HTML fragment and run the parser. The onLoad() handler is called when parsing is done and the content is ready. Compared with dijit/layout/ContentPane, this widget provides only basic fuctionality, but it is much smaller than dijit/layout/ContentPane.
d608cc59 »
2011-11-20 \r\n -> \n conversion.
18
9dd52dc6 »
2011-11-20 mondo whitespace change
19 +--------------+----------+---------+-----------------------------------------------------------------------------------------------------------+
20 |Parameter |Type |Default |Description |
21 +--------------+----------+---------+-----------------------------------------------------------------------------------------------------------+
22 |href |String |"" |A URL of an HTML fragment to load. |
23 +--------------+----------+---------+-----------------------------------------------------------------------------------------------------------+
b3e89005 »
2012-04-16 V1.8 updates
24 |lazy |Boolean |false |If true, external content specified with the href property is not loaded at startup time. It can be loaded |
25 | | | |by calling load(). |
26 +--------------+----------+---------+-----------------------------------------------------------------------------------------------------------+
27 |content |String |"" |An HTML fragment content to load. |
9dd52dc6 »
2011-11-20 mondo whitespace change
28 +--------------+----------+---------+-----------------------------------------------------------------------------------------------------------+
b3e89005 »
2012-04-16 V1.8 updates
29 |parseOnLoad |Boolean |true |If true, runs the parser to parse the content. |
9dd52dc6 »
2011-11-20 mondo whitespace change
30 +--------------+----------+---------+-----------------------------------------------------------------------------------------------------------+
b3e89005 »
2012-04-16 V1.8 updates
31 |prog |Boolean |true |If true, shows a progress indicator while loading an HTML fragment specified by href. |
32 +--------------+----------+---------+-----------------------------------------------------------------------------------------------------------+
33 |executeScripts|Boolean |true |If true, executes scripts that is found in the content. |
9dd52dc6 »
2011-11-20 mondo whitespace change
34 +--------------+----------+---------+-----------------------------------------------------------------------------------------------------------+
d608cc59 »
2011-11-20 \r\n -> \n conversion.
35
9dd52dc6 »
2011-11-20 mondo whitespace change
36 Examples
37 ========
d608cc59 »
2011-11-20 \r\n -> \n conversion.
38
9dd52dc6 »
2011-11-20 mondo whitespace change
39 Declarative example
40 -------------------
d608cc59 »
2011-11-20 \r\n -> \n conversion.
41
b3e89005 »
2012-04-16 V1.8 updates
42 .. js ::
43
44 require([
45 "dojox/mobile",
46 "dojox/mobile/parser",
47 "dojox/mobile/ContentPane"
48 ]);
49
c49c87d5 »
2011-11-21 normalization
50 .. html ::
d608cc59 »
2011-11-20 \r\n -> \n conversion.
51
d3c6181d »
2013-03-13 Use slash for modules
52 <h2 data-dojo-type="dojox/mobile/RoundRectCategory">Pane1</h2>
53 <div data-dojo-type="dojox/mobile/ContentPane"
54 data-dojo-props="content:'&lt;div data-dojo-type=&quot;dojox/mobile/RoundRect&quot; data-dojo-props=&quot;shadow:true&quot;&gt;Thank you!&lt;/div&gt;'"></div>
d608cc59 »
2011-11-20 \r\n -> \n conversion.
55
d3c6181d »
2013-03-13 Use slash for modules
56 <h2 data-dojo-type="dojox/mobile/RoundRectCategory">Pane2</h2>
57 <div data-dojo-type="dojox/mobile/ContentPane"
b3e89005 »
2012-04-16 V1.8 updates
58 data-dojo-props='href:"fragment1.html"'></div>
d608cc59 »
2011-11-20 \r\n -> \n conversion.
59
9dd52dc6 »
2011-11-20 mondo whitespace change
60 The content of fragment1.html is as follows:
d608cc59 »
2011-11-20 \r\n -> \n conversion.
61
c49c87d5 »
2011-11-21 normalization
62 .. html ::
d608cc59 »
2011-11-20 \r\n -> \n conversion.
63
d3c6181d »
2013-03-13 Use slash for modules
64 <div data-dojo-type="dojox/mobile/RoundRect" data-dojo-props='shadow:true'>
9dd52dc6 »
2011-11-20 mondo whitespace change
65 HTML fragment example
66 </div>
d608cc59 »
2011-11-20 \r\n -> \n conversion.
67
c15cbf24 »
2011-12-20 standardize spacing on directives like .. js
68 .. image :: ContentPane.png
b3e89005 »
2012-04-16 V1.8 updates
69
70
d3c6181d »
2013-03-13 Use slash for modules
71 See examples of :ref:`dojox/mobile/FixedSplitter <dojox/mobile/FixedSplitter>` also.
Something went wrong with that request. Please try again.