ui:slotFilled
Check if a slot has content.
Example
<f:if condition="{ui:slot.filled()}">
// Slot has content
</f:if>
Arguments
Name | Type | Description | Required | Default |
---|---|---|---|---|
name |
string | Name of the slot | No | SlotViewHelper::DEFAULT_SLOT |
Check if a slot has content.
<f:if condition="{ui:slot.filled()}">
// Slot has content
</f:if>
Name | Type | Description | Required | Default |
---|---|---|---|---|
name |
string | Name of the slot | No | SlotViewHelper::DEFAULT_SLOT |
Overview
Core Concepts
Components
ViewHelpers