Labs/Jetpack/JEP/33: Difference between revisions

Jump to navigation Jump to search
 
Line 51: Line 51:
   All events are passed the following property hash:
   All events are passed the following property hash:
   * <tt>icon</tt> - a pointer to the icon used in the Gadget title bar.
   * <tt>icon</tt> - a pointer to the icon used in the Gadget title bar.
  ** <tt>icon.toDefault()</tt> - reload icon to original icon
    * <tt>icon.toDefault()</tt> - reloads icon to original icon
   * <tt>contentDocument</tt> - document element of the content area
   * <tt>contentDocument</tt> - document element of the content area
   * <tt>position</tt> - an object that includes the Gadget's position on the screen: {x: 400, y: 500}
   * <tt>position</tt> - an object that includes the Gadget's position on the screen: {x: 400, y: 500}
1,273

edits

Navigation menu