Opened 11 years ago

Closed 11 years ago

Last modified 7 years ago

#3271 closed enhancement (wontfix)

UI Tabs : appendTo

Reported by: Remi <remi@…> Owned by: klaus.hartl
Priority: minor Milestone:
Component: ui.tabs Version: 1.6b
Keywords: Cc:
Blocked by: Blocking:

Description

Would be nice to include appendTo option to ui.tabs. Useful.

Replace :

$panel.appendTo(this.element[0].parentNode);

by

$panel.appendTo(o.appendTo != null ? $(o.appendTo) : this.element[0].parentNode);

And add an option default

appendTo : null

And it allows to append tabs to another container.

Change History (5)

comment:1 Changed 11 years ago by Jörn Zaefferer

Milestone: 1.61.7

Deferred to 1.7: New options need documentation updates, too later for 1.6.

comment:2 Changed 11 years ago by klaus.hartl

Milestone: 1.nextTBD

comment:3 Changed 11 years ago by klaus.hartl

Priority: majorminor

comment:4 Changed 11 years ago by klaus.hartl

Resolution: wontfix
Status: newclosed

I don't see the need for an option, this can easily be achieved with an add handler (which is why we have these callbacks):

add: function(event, ui) {
    $(ui.panel).appendTo('#here');
}

comment:5 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.