Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Commit

Permalink
Bug 589024 - widget.tooltip is undocumented, and widget.panel should …
Browse files Browse the repository at this point in the history
…be marked as optional. r=dietrich, a0.7=myk
  • Loading branch information
0c0w3 committed Aug 20, 2010
1 parent 066b844 commit 32af79e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/jetpack-core/docs/widget.md
Expand Up @@ -45,8 +45,8 @@ visibility.
for directions on where in your package to store your static data files.
Widgets must either have a `content` property or an `image` property.

@prop panel {panel}
A `Panel` to open when the user clicks on the widget. See the
@prop [panel] {panel}
An optional `Panel` to open when the user clicks on the widget. See the
[`panel`](#module/jetpack-core/panel) module for more information about the
`Panel` objects to which this option can be set and the `reddit-panel`
example add-on for an example of using this option. Note: If you also
Expand Down Expand Up @@ -84,6 +84,10 @@ visibility.
loaded. If the widget's content is an image then use the `onLoad` event
instead. It is called as `onReady(event)`. `event` is the standard DOM event
object.

@prop [tooltip] {string}
Optional text to show when the user's mouse hovers over the widget. If not
given, the `label` is used.
</api>

## Functions ##
Expand Down

0 comments on commit 32af79e

Please sign in to comment.