[Dojo-interest] How to implement zoom in & Zoom out for widget.Portlet

Dylan Schiemann dylan at dojotoolkit.org
Wed Jan 15 11:28:07 EST 2014

You would need to do several things to get this working:

1. Define what zoomable means... what's the action you expect to happen
2. Extend portlet to read that setting, and handle events associated
with that behavior
3. Write the logic for that behavior

Basically follow the logic for the other features of
dojox/widget/Portlet, but write your own.


on 1/14/14 6:16 AM (GMT-07:00) Sagar Srivastava01 said the following:
> Hi,
> Is it possible to implement zoom in/out feature in dojo widget. Like we
> have closable(close icon), toggleable(minimize/maximize icon) attributes
> for *dojox.widget.Portlet. *
> I want to implement some think like zoomeable=”true” as:-
> <div data-dojo-type="dojox.layout.GridContainer"    id="gc3" >
>                 <div data-dojo-type="dojox.widget.Portlet" title="
> Details" *zoomeable="true" *closable="false" toggleable="true" >
> Please help me in finding the  way to implement zoom in/out
> functionality for widget.Portlet.
> Regards,
> Sagar
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
> for the use of the addressee(s). If you are not the intended recipient, please 
> notify the sender by e-mail and delete the original message. Further, you are not 
> to copy, disclose, or distribute this e-mail or its contents to any other person and 
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
> every reasonable precaution to minimize this risk, but is not liable for any damage 
> you may sustain as a result of any virus in this e-mail. You should carry out your 
> own virus checks before opening the e-mail or attachment. Infosys reserves the 
> right to monitor and review the content of all messages sent to or from this e-mail 
> address. Messages sent to or from this e-mail address may be stored on the 
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
> ________________________________________________________
> Dojo Toolkit: http://dojotoolkit.org/
> Tutorials: http://dojotoolkit.org/documentation/
> Reference Guide: http://dojotoolkit.org/reference-guide
> API Documentation: http://dojotoolkit.org/api
> Dojo-interest at mail.dojotoolkit.org
> To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Dylan Schiemann
SitePen, Inc.
2014 Workshop schedule in the US, Canada, England and Switzerland:
SitePen Insider http://sitepen.com/insider/
w: www.sitepen.com
in: www.linkedin.com/in/dylans

More information about the Dojo-interest mailing list