Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Feb 5, 2012
1 parent e37ad4d commit 68ca0b0
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions build/ui.js
Expand Up @@ -144,6 +144,11 @@ exports.dialog = function(title, msg){
* - `title` dialog title
* - `message` a message to display
*
* Emits:
*
* - `show` when visible
* - `hide` when hidden
*
* @param {Object} options
* @api public
*/
Expand Down Expand Up @@ -444,6 +449,13 @@ exports.confirm = function(title, msg){
* - `title` dialog title
* - `message` a message to display
*
* Emits:
*
* - `cancel` the user pressed cancel or closed the dialog
* - `ok` the user clicked ok
* - `show` when visible
* - `hide` when hidden
*
* @param {Object} options
* @api public
*/
Expand Down Expand Up @@ -562,8 +574,10 @@ function rgba(r,g,b,a) {
/**
* Initialize a new `ColorPicker`.
*
* @param {Type} name
* @return {Type}
* Emits:
*
* - `change` with the given color object
*
* @api public
*/

Expand Down Expand Up @@ -1129,6 +1143,7 @@ exports.menu = function(){
* - "show" when shown
* - "hide" when hidden
* - "remove" with the item name when an item is removed
* - * menu item events are emitted when clicked
*
* @api public
*/
Expand Down

0 comments on commit 68ca0b0

Please sign in to comment.