Labs/Jetpack/JEP/33: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 25: Line 25:
* <tt>width</tt> <i>num</i> - initial width of the Window (320 - standard smartphone width resolution)
* <tt>width</tt> <i>num</i> - initial width of the Window (320 - standard smartphone width resolution)
* <tt>height</tt> <i>num</i> - initial height of the Window (480 - standard smartphone height resolution)
* <tt>height</tt> <i>num</i> - initial height of the Window (480 - standard smartphone height resolution)
* <tt>persist</tt> <i>bool</i> - will the Window stay open when a user closes the browser instance?
* <tt>persist</tt> <i>bool</i> - specifies whether or not a Window stay open when a user closes the browser instanc
* <tt>onFocus</tt> <i>func</i> - event triggered when the Window is focused
* <tt>onFocus</tt> <i>func</i> - event triggered when the Window is focused
* <tt>onBlur</tt> <i>func</i> - event triggered when the Window losses focus
* <tt>onBlur</tt> <i>func</i> - event triggered when the Window losses focus
* <tt>onReady</tt> <i>func</i> - event triggered when the Window's content is loaded and ready for manipulation.
* <tt>onReady</tt> <i>func</i> - event triggered when the Window's content is loaded and ready for manipulation


All events are passed the following property hash:
All events are passed the following property hash:
1,273

edits

Navigation menu