Skip to main content

Search and Top Navigation

#7421 closed bug (fixed)

Opened May 25, 2011 07:34PM UTC

Closed February 27, 2012 11:31AM UTC

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" }
});
Attachments (0)
Change History (4)

Changed May 25, 2011 07:36PM UTC by rdworth comment:1

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

Changed May 25, 2011 09:11PM UTC by etiger13 comment:2

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

Changed May 26, 2011 01:02PM UTC by scottgonzalez comment:3

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.

Changed February 27, 2012 11:31AM UTC by jzaefferer comment:4

resolution: → fixed
status: newclosed

Added the duplicate entries for show and hide.