1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 02:20:28 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/widgets/FillWidget.tid
btheado 9d6784f262
Add $slot widget examples and document the $depth parameter (#7446)
* Added $slot widget examples and documented the $depth parameter

* Fixed quotes and added named parameter
2023-05-11 15:09:16 +01:00

22 lines
828 B
Plaintext

caption: fill
created: 20220909111836951
modified: 20230511123456782
tags: Widgets
title: FillWidget
type: text/vnd.tiddlywiki
! Introduction
<<.from-version "5.3.0">> The <<.wlink FillWidget>> widget is used within a <<.wlink TranscludeWidget>> widget to specify the content that should be copied to the named "slot". Slots are defined by the <<.wlink SlotWidget>> widget within the transcluded content.
See the <<.wlink TranscludeWidget>> widget for details and an example. More examples can be found in the <<.wlink SlotWidget>> widget documentation.
! Attributes
The content of the <<.wlink FillWidget>> widget is used as the content to be passed to the transclusion.
|!Attribute |!Description |
|$name |The name of the slot to be filled |
<<.warning """The $name attribute must be specified as a literal string""">>