2012-04-19 17:03:21 +00:00
|
|
|
TestHelpers.commonWidgetTests( "tabs", {
|
2011-04-04 21:06:13 +00:00
|
|
|
defaults: {
|
2011-04-05 20:53:52 +00:00
|
|
|
active: null,
|
2011-04-04 21:06:13 +00:00
|
|
|
ajaxOptions: null,
|
|
|
|
cache: false,
|
|
|
|
collapsible: false,
|
|
|
|
cookie: null,
|
|
|
|
disabled: false,
|
|
|
|
event: "click",
|
2012-05-28 19:11:20 +00:00
|
|
|
heightStyle: "content",
|
2012-05-14 18:40:06 +00:00
|
|
|
hide: null,
|
2011-04-04 21:06:13 +00:00
|
|
|
fx: null,
|
|
|
|
idPrefix: "ui-tabs-",
|
|
|
|
panelTemplate: "<div></div>",
|
2012-05-14 18:40:06 +00:00
|
|
|
// show: null, // conflicts with old show callback
|
2011-04-25 12:10:39 +00:00
|
|
|
spinner: "<em>Loading…</em>",
|
|
|
|
tabTemplate: "<li><a href='#{href}'><span>#{label}</span></a></li>",
|
|
|
|
|
|
|
|
// callbacks
|
|
|
|
activate: null,
|
|
|
|
add: null,
|
|
|
|
beforeActivate: null,
|
|
|
|
beforeLoad: null,
|
2011-04-25 18:04:30 +00:00
|
|
|
create: null,
|
2011-04-25 12:10:39 +00:00
|
|
|
disable: null,
|
|
|
|
enable: null,
|
|
|
|
load: null,
|
2011-04-04 21:06:13 +00:00
|
|
|
remove: null,
|
|
|
|
select: null,
|
2011-04-25 12:10:39 +00:00
|
|
|
show: null
|
2011-04-04 21:06:13 +00:00
|
|
|
}
|
|
|
|
});
|