mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-23 01:24:22 +00:00
28 lines
372 B
JavaScript
28 lines
372 B
JavaScript
define( [
|
|
"lib/common",
|
|
"ui/widgets/button"
|
|
], function( common ) {
|
|
|
|
common.testWidget( "button", {
|
|
defaults: {
|
|
classes: {
|
|
"ui-button": "ui-corner-all"
|
|
},
|
|
disabled: null,
|
|
icon: null,
|
|
iconPosition: "beginning",
|
|
icons: {
|
|
primary: null,
|
|
secondary: null
|
|
},
|
|
label: null,
|
|
showLabel: true,
|
|
text: true,
|
|
|
|
// Callbacks
|
|
create: null
|
|
}
|
|
} );
|
|
|
|
} );
|