| wijmo.expander.wijexpander 名前空間 > options タイプ : animated オプション |
デフォルト値: 'slide'
アニメーションイージング効果を決定します。アニメーションを無効にするには、このオプションを false に設定します。カスタムイージング効果を使用するには、UI Effects Core が必要です。アニメーション機能に使用可能な追加オプションは以下のとおりです。expand - true の場合、コンテンツ要素が展開されている必要があることを示します。horizontal - true の場合、エキスパンダーの向きが水平であることを示します(expandDirection が left または right の場合)。content - 展開または折りたたまれるコンテンツ要素を含む jQuery オブジェクト。
| Javascript (Usage) | |
|---|---|
$(function () { //値を取得する var returnsValue; //タイプ: string returnsValue = $(".selector").wijexpander("option", "animated"); //値を設定します var newValue; //タイプ: string $(".selector").wijexpander("option", "animated", newValue); }); | |
| Javascript (Specification) | |
|---|---|
| |
$("#expander2").wijexpander({ animated: "custom1" }); jQuery.wijmo.wijexpander.animations.custom1 = function (options) { this.slide(options, { easing: "easeInBounce", duration: 900 }); }