sencha touch
~ <div class="date">{[Ext.Date.format(values.date, "Y/m/d")]}</div>, ~ {[]}で囲むとjsで処理が書けるらしい。 values.dateが{date}と等価。
config: { ~ centered: true, ~ } 他に条件あるかもしれないけどとりあえず。
config: { ~ centered: true, ~ } 他に条件あるかもしれないけどとりあえず。
~ config:{ ~ showAnimation: {type:'slideIn', direction: 'up', duration: 200}, hideAnimation: {type:'slideOut', direction: 'down', duration: 200}, ~ } ~ など。
{ xtype: 'spacer' }を間に挟むことで実現できる ~ items: [ { xtype : 'button', text : 'Cancel', itemId: 'cancelButton' }, { xtype : 'spacer' }, { xtype : 'button', text : 'Done', itemId: 'doneButton' } ] ~ spacerを間に指定した場合、可能な範…
showByの場合、渡された要素に紐付く形で表示される。 動作としてはtop,leftが自動的に計算され付与され、三角形の矢印が表示される。showの場合、通常通りの表示となる。