Skip to content

Commit 13abcf4

Browse files
committed
Document iconPosition and inset configuration options
1 parent ce3599e commit 13abcf4

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

api/javascript/mobile/ui/collapsible.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,40 @@ Sets the icon for the header of the collapsible widget when it is in a expanded
111111
}
112112
</style>
113113

114+
### iconPosition `String`*(default: "left")*
115+
116+
Sets the icon position in the header of the collapsible widget. Possible values are "left", "right", "top".
117+
118+
#### Example
119+
120+
<div id="home" data-role="view">
121+
<div id="collapsible" data-role="collapsible" data-icon-postion="right">
122+
<h2>Header</h2>
123+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
124+
</div>
125+
</div>
126+
127+
<script>
128+
var app = new kendo.mobile.Application();
129+
</script>
130+
131+
### inset `Boolean`*(default: "false")*
132+
133+
Forses inset appearance - the collapsible panel is padded from the View and receives rounded corners.
134+
135+
#### Example
136+
137+
<div id="home" data-role="view">
138+
<div id="collapsible" data-role="collapsible" data-inset="true">
139+
<h2>Header</h2>
140+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
141+
</div>
142+
</div>
143+
144+
<script>
145+
var app = new kendo.mobile.Application();
146+
</script>
147+
114148
## Methods
115149

116150
### collapse

0 commit comments

Comments
 (0)