1,273
edits
Dandonkulous (talk | contribs) |
Dandonkulous (talk | contribs) |
||
Line 19: | Line 19: | ||
<code>jetpack.addElement('window', {options})</code> | <code>jetpack.addElement('window', {options})</code> | ||
Where <tt>options</tt> is an object: | Where <tt>options</tt> is an object: { | ||
Properties | Properties | ||
Line 45: | Line 45: | ||
* <tt>position</tt> - an object that includes the Window's position on the screen: {x: 400, y: 500} | * <tt>position</tt> - an object that includes the Window's position on the screen: {x: 400, y: 500} | ||
* <tt>location</tt> - the URL of the window, http://, chrome:// | * <tt>location</tt> - the URL of the window, http://, chrome:// | ||
} | |||
=== Example === | === Example === |
edits