-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi All,
I want to use the type=toggle for the zk.popup as per below:
<button label="Popup" popup="popupId, type=toggle"/>
However we are implmenting the popup using the open method so we can pass the position as such:
<button label="Popup" onClick='popupId.open(self, "before_start");'/>
Is there any way to use the toggle option when displaying the Popup with the open method ?
You don't have to open the popup manually to set the position. You may set the popup's position in the declaration like this:
<button label="Popup" popup="popupId, type=toggle, position=before_start"/>
Hope that helps
Costas
Asked: 2014-11-26 06:09:31 +0800
Seen: 15 times
Last updated: Nov 26 '14