Progress Bar
以下の記事は、Tizen SDK Dev Guide にあるProgress Bar の日本語訳です。
その他のドキュメントの日本語訳はTIZEN 2.0 SDK Dev Guide 日本語訳 目次をご覧ください。
Progress Bar
Progress Barウィジェットの継続操作の進行状況の割合を示すコントロールを表示します。このウィジェットは、親コンテナ内に収まるように拡大/縮小することができます。
アプリケーションにProgress Barウィジェットを追加するには、次のコードを使用します。
<div id="foo" data-role="progressbar"</div>
Progress Barウィジェットは進捗値が変更されたときに起動される変更イベントのコールバックを定義することができます。
<div id="foo" data-role="progressbar"></div>
$("#foo").bind("change", function (ev, val)
{
Console.log("Value is changed to " + val);
});
value
メソッドは現在のデフォルトのProgress Barの値の設定または取得するために使用します。
<div id="foo" data-role="progressbar"></div>
var oldVal = $("#foo").progress("option", "value");
$("#foo").progress("option", "value", 50);
次に読むドキュメント
日本語訳: yasuyk
This content is licensed under Creative Commons Attribution 3.0. For details, see the Content License.