backbone.js - marionette.js view difference between onShow vs onRender? - Stack Overflow こういう記事もあるようですが、 似てるけどどっち使えば良いの?ってなったときに。 この差を知ってこそのマリオネッターですよ。 どちらもフックとして使える var HogeView = Marionette.ItemView.extend({ onRender: function() { console.log('onRender!'); }, onShow: function() { console.log('onShow!'); } }); で、 var hogeLayout = new HogeLayout(); hogeLayout.someRegion.show(new HogeView()); // ->
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く