Labs/Jetpack/JEP/33: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 20: Line 20:


Where <tt>options</tt> is a property hash:
Where <tt>options</tt> is a property hash:
* <tt>icon</tt> <i>uri</i> - icon to show in the Title section of the window
* <tt>icon</tt> <i>uri</i> - icon to show in the title bar section of the window
* <tt>html</tt> <i>text/xml</i> - html content for the feature
* <tt>html</tt> <i>text/xml</i> - html content for the feature
* <tt>url</tt> <i>uri</i> - url to load content for the feature
* <tt>url</tt> <i>uri</i> - url to load content for the feature
Line 31: Line 31:


All events are passed the following property hash:
All events are passed the following property hash:
* <tt>icon</tt> - node representing the icon in the SlideBar
* <tt>icon</tt> - a pointer to the icon used in the Window title bar.
** <tt>icon.default()</tt> - reload icon to original icon
** <tt>icon.default()</tt> - reload icon to original icon
* <tt>contentDocument</tt> - document element of the content area
* <tt>contentDocument</tt> - document element of the content area
1,273

edits

Navigation menu