Borderlayout"
From Documentation
Jumperchen (talk | contribs) m (→Borderlayout) |
Jumperchen (talk | contribs) |
||
Line 10: | Line 10: | ||
[[File:Borderlayout_Tablet_Swipe_Example.png]] | [[File:Borderlayout_Tablet_Swipe_Example.png]] | ||
+ | |||
+ | = Friendly Scrolling Support = | ||
+ | When user swipe on the content of Layout Region from Borderlayout, the friendly scrollbar will appear. | ||
+ | To enable the friendly scrollbar, please specify autoscroll to true. | ||
+ | |||
+ | For example, | ||
+ | <source lang="xml" high="1"> | ||
+ | <west title="West" size="20%" autoscroll="true" /> | ||
+ | </source> | ||
+ | |||
+ | [[File:Borderlayout_Tablet_Scrolling_Example.png]] | ||
+ | |||
+ | '''Note:''' to disable the friendly scrollbar, please use the following setting. | ||
+ | <source lang="xml" high="1"> | ||
+ | <west xmlns:a="client/attribute" a:data-scrollable="false"/> | ||
+ | </source> | ||
= Version History= | = Version History= |
Revision as of 03:52, 1 August 2012
Borderlayout
- Component Reference: Borderlayout
- Available in ZK EE only
SwipeEvent Support
Each layout region can support to close and open the region area by user's swipe on the edge of the region.
Friendly Scrolling Support
When user swipe on the content of Layout Region from Borderlayout, the friendly scrollbar will appear. To enable the friendly scrollbar, please specify autoscroll to true.
For example,
<west title="West" size="20%" autoscroll="true" />
Note: to disable the friendly scrollbar, please use the following setting.
<west xmlns:a="client/attribute" a:data-scrollable="false"/>
Version History
Version | Date | Content |
---|---|---|
6.5.0 | July, 2012 | Borderlayout support touch's swipe event to close/open the layout region |