mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 11:59:58 +00:00
30 lines
541 B
Plaintext
30 lines
541 B
Plaintext
|
title: TestCases/DataWidget/Refreshing
|
||
|
type: text/vnd.tiddlywiki-multiple
|
||
|
tags: [[$:/tags/wiki-test-spec]]
|
||
|
description: Refreshing the data widget
|
||
|
display-format: plaintext
|
||
|
|
||
|
title: Narrative
|
||
|
|
||
|
Verifying that the JSON output of the data widget is correctly refreshed when the data changes
|
||
|
+
|
||
|
title: Output
|
||
|
|
||
|
<$data title="Epsilon" text={{Subject}}/>
|
||
|
+
|
||
|
title: Subject
|
||
|
|
||
|
Nothing
|
||
|
+
|
||
|
title: Actions
|
||
|
|
||
|
<$action-setfield $tiddler="Subject" text="Theta"/>
|
||
|
+
|
||
|
title: ExpectedResult
|
||
|
|
||
|
<p>[
|
||
|
{
|
||
|
"title": "Epsilon",
|
||
|
"text": "Theta"
|
||
|
}
|
||
|
]</p>
|