Difference between revisions of "Template:CommentedSmalltalk Footer"

From Documentation
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 +
 +
=Popup can now be toggled=
 +
 +
If a popup/context menu is assigned to a target component via the popup/context attribute, the popup up will show up when the user clicks on the target component. Click the target component again, the popup will still show up by default.
 +
 +
Since ZK 7 the popup/context attribute supports an additional toggle type, which will make target component act as a toggle switcher. If the popup has not shown up yet, clicking the target component will cause the popup to show up. If the popup is showing, clicking on the target component again will hide the popup.
 +
 +
The following demonstrates how to use the feature.
 +
 +
<source lang="xml">
 +
<button label="Popup" popup="id, type=toggle"/></source>
 +
  
 
=Comments=
 
=Comments=

Revision as of 07:55, 18 November 2013


This will not display properly unless included in the page.