{{#helper_name}} : Helper Description
On this page
Summary
Brief description of what this helper does.
Based on: Link to underlying Scryber element/component
Syntax
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
expression |
Expression | Yes | Description of the parameter |
Special Variables
| Variable | Description |
|---|---|
variable |
Description |
Examples
Basic Example
Data:
builder.WithData("model", new {
data = new { property = "value" }
});
Output:
<p>value</p>
Underlying Implementation
The {{#helper_name}} helper compiles to the following Scryber template structure:
<element data-attribute="{{expression}}">
<!-- Content -->
</element>
Brief explanation of how it works internally.
Notes
- Additional notes
- Implementation details
- Common pitfalls
- Avoid using βliveβ data (DateTime.Now, etc.) - PDFs are static, use model data