Ticket #7421 (closed bug: fixed)

Opened 2 years ago

Last modified 16 months ago

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:
Blocking: Blocked by:

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

comment:1 Changed 2 years ago by rdworth

  • Component changed from [meta] ui.demos to [meta] ui.docs

comment:2 Changed 2 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 2 years ago by scott.gonzalez

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 16 months ago by joern.zaefferer

  • Status changed from new to closed
  • Resolution set to fixed

Added the duplicate entries for show and hide.

Note: See TracTickets for help on using tickets.