Opened 8 years ago

Closed 7 years ago

#7421 closed bug (fixed)

Demo page for dialog should say String, Object for show option

Reported by: etiger13 Owned by:
Priority: minor Milestone: 1.9.0
Component: [meta] ui.docs Version: 1.8.13
Keywords: Cc:
Blocked by: Blocking:

Description

On http://jqueryui.com/demos/dialog/#option-show, the option for show/hide should say it accepts either a String or an Object

$(ele).dialog({
    show: { effect: 'drop', direction: "up" },
    hide: { effect: 'drop', direction: "down" }
});

Change History (4)

comment:1 Changed 8 years ago by rdworth

Component: [meta] ui.demos[meta] ui.docs

comment:2 Changed 8 years ago by etiger13

updated the input type on http://docs.jquery.com/UI/API/1.8/Dialog but not sure how to add an example.

comment:3 Changed 8 years ago by Scott González

The examples are auto-generated. We actually create separate entries for options that accept multiple types. Check out dialog's button option for an example.

comment:4 Changed 7 years ago by Jörn Zaefferer

Resolution: fixed
Status: newclosed

Added the duplicate entries for show and hide.

Note: See TracTickets for help on using tickets.