0
私はinboxSection
というテンプレートを持っています。そのテンプレートにはreactive tableがあります。コードは次のようになります。反応テーブルがレンダリングされた後でコードを実行するには?
template(name="inboxSection")
.col-xs-12.curator-inbox-section-head
.pull-left
b {{formattedDate}}
.pull-right
+reactiveTable collection=posts settings=settings selector=selector class="curator-inbox-table" rowClass="curator-inbox-table-row"
リアクティブテーブルのレンダリング後にコードを実行したいと思います。私はそうのようなinboxSection
ためonCreated
イベントに置くしようとした:
Template.inboxSection.onCreated ->
# do something with the reactive table...
が、それは動作しません。どのように反応テーブルのレンダリング後にいくつかのコードを実行できますか?
はい!なぜ私はそれを考えなかったのですか?ありがとう! –