Debian Codegraph @

docs/content/en/quick-reference/glossary/partial-decorator.md

raw
1 ---
2 title: partial decorator
3 reference: /templates/partial-decorators/
4 ---
5
6 A _partial decorator_ is specific type of [_partial_](g) that functions as a [_wrapper component_](g). While a standard partial simply renders data within a fixed template, a decorator uses composition to enclose an entire block of content. It utilizes the [`templates.Inner`][] function as a placeholder to define exactly where that external content should be injected within the wrapper's layout.
7
8 [`templates.Inner`]: /functions/templates/inner/