jquery-ui/tests/unit/accordion/common.js

33 lines
614 B
JavaScript
Raw Normal View History

define( [
"lib/common",
"ui/accordion"
], function( common ) {
common.testWidget( "accordion", {
2011-01-25 00:20:09 +00:00
defaults: {
active: 0,
animate: {},
classes: {
"ui-accordion-header": "ui-corner-top",
"ui-accordion-header-collapsed": "ui-corner-all",
"ui-accordion-content": "ui-corner-bottom"
},
2011-01-25 00:20:09 +00:00
collapsible: false,
disabled: false,
event: "click",
header: "> li > :first-child, > :not(li):even",
2011-01-25 00:20:09 +00:00
heightStyle: "auto",
icons: {
"activeHeader": "ui-icon-triangle-1-s",
"header": "ui-icon-triangle-1-e"
},
// callbacks
activate: null,
beforeActivate: null,
create: null
}
2011-01-25 00:20:09 +00:00
});
} );