1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-16 07:43:16 +00:00

Add another background action demo

This commit is contained in:
Jeremy Ruston 2025-01-21 16:34:38 +00:00
parent 818a9977a3
commit 365b734a22
2 changed files with 16 additions and 1 deletions

View File

@ -1,4 +1,4 @@
title: SampleBackgroundAction
title: SampleBackgroundAction: Dark Mode
tags: $:/tags/BackgroundAction
track-filter: [{$:/info/browser/darkmode}]

View File

@ -0,0 +1,15 @@
title: 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>