이 문서는 https://tiddlywiki.com/languages/ko-KR/에서 티들리위키의 정적 HTML 표현의 일부입니다

Background Actions

2025년 2월 12일 오후 3:44

Background actions are performed whenever there are changes to the results of a filter.

They can be useful for hooking into existing functionality by tracking changes to the tiddler store.

The following example tracks changes to the story list, reusing itself as the text of a notification at the same time:

SampleBackgroundAction: Story Change

tags$:/tags/BackgroundAction
track-filter[list[$:/StoryList]]
<$action-sendmessage $message="tm-notify" $param="SampleBackgroundAction: Story Change" list={{$:/StoryList!!list}}/>

Story List:

<ol>
<$list filter="[enlist<list>]">
<li>
<$text text=<<currentTiddler>>/>
</li>
</$list>
</ol>