mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-04 23:39:57 +00:00
9d6784f262
* Added $slot widget examples and documented the $depth parameter * Fixed quotes and added named parameter
22 lines
828 B
Plaintext
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""">>
|