Jquery ui 在哪里可以获得JQuery ui指定的选项?
例如,此页面:Jquery ui 在哪里可以获得JQuery ui指定的选项?,jquery-ui,Jquery Ui,例如,此页面: 我知道该剧的原型是:show(effect、[options]、[speed]、[callback]),它说“options:A object/hash,包括特效的特定选项。”这些特定选项是什么??我找不到它们:-(您可以在本页的源代码中看到一些示例: 请参阅代码的这一部分,例如: // most effect types need no options passed by default var options = {}; // some effects have requi
我知道该剧的原型是:show(effect、[options]、[speed]、[callback]),它说“options:A object/hash,包括特效的特定选项。”这些特定选项是什么??我找不到它们:-(您可以在本页的源代码中看到一些示例: 请参阅代码的这一部分,例如:
// most effect types need no options passed by default
var options = {};
// some effects have required parameters
if ( selectedEffect === "scale" ) {
options = { percent: 0 };
} else if ( selectedEffect === "transfer" ) {
options = { to: "#button", className: "ui-effects-transfer" };
} else if ( selectedEffect === "size" ) {
options = { to: { width: 200, height: 60 } };
}
您可以在本页的源代码中看到一些示例: 请参阅代码的这一部分,例如:
// most effect types need no options passed by default
var options = {};
// some effects have required parameters
if ( selectedEffect === "scale" ) {
options = { percent: 0 };
} else if ( selectedEffect === "transfer" ) {
options = { to: "#button", className: "ui-effects-transfer" };
} else if ( selectedEffect === "size" ) {
options = { to: { width: 200, height: 60 } };
}
我想这个问题已经回答了:。我想这个问题已经回答了:。