jQueryUI には、ラジオ ボタンの非常に優れた表示があります。
Sencha に似たようなものはありますか?
そうでない場合は、フォローアップの質問:
ワンタッチしか必要としない 3 アイテム (または 4 アイテム) コンポーネントの優れた UX は何だと思いますか? (たとえば、選択ボックスは 2 回のタッチで、1 回は選択リストを開き、もう 1 回はオプションを選択します)
jQueryUI には、ラジオ ボタンの非常に優れた表示があります。
Sencha に似たようなものはありますか?
そうでない場合は、フォローアップの質問:
ワンタッチしか必要としない 3 アイテム (または 4 アイテム) コンポーネントの優れた UX は何だと思いますか? (たとえば、選択ボックスは 2 回のタッチで、1 回は選択リストを開き、もう 1 回はオプションを選択します)
Ext.SegmentedButton
あなたはSencha Touchで探しています。
サンプルコードスニペット:-
var segmentedButton = new Ext.SegmentedButton({
allowMultiple: false, // ensures only 1 button gets pressed at a time.
items: [
{
text: 'Choice 1'
},
{
text : 'Choice 2',
pressed: true
},
{
text: 'Choice 3'
}
],
listeners: {
toggle: function(container, button, pressed){
console.log("User toggled the '" + button.text + "' button: " + (pressed ? 'on' : 'off'));
}
}
});
Ext.Viewport.add({ xtype: 'container', padding: 10, items: [segmentedButton] });
出力:-