1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-05 09:36:18 +00:00
TiddlyWiki5/editions/test/tiddlers/tests/data/transclude/CustomWidget-Slotted.tid
2023-06-01 08:06:28 +01:00

27 lines
496 B
Plaintext

title: Transclude/CustomWidget/Slotted
description: Custom widget definition
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: Output
\whitespace trim
\widget $my.widget(one:'Jaguar')
\whitespace trim
<$text text=<<one>>/>
<$slot $name="ts-stuff">
Whale
</$slot>
\end
<$my.widget one="Dingo">
<$fill $name="ts-stuff">
Crocodile
</$fill>
</$my.widget>
<$my.widget one="BumbleBee">
Squirrel
</$my.widget>
+
title: ExpectedResult
<p>DingoCrocodileBumbleBeeWhale</p>