DefersProps
trait DefersProps
Properties
| protected bool | $deferred | Indicates if the property should be deferred. |
|
| protected string|null | $deferGroup | The defer group. |
Methods
defer(string|null $group = null)
Mark this property as deferred. Deferred properties are excluded from the initial page load and only evaluated when requested by the frontend, improving initial page performance.
bool
shouldDefer()
Determine if this property should be deferred.
string
group()
Get the defer group for this property.
Details
at line 24
DefersProps
defer(string|null $group = null)
Mark this property as deferred. Deferred properties are excluded from the initial page load and only evaluated when requested by the frontend, improving initial page performance.
at line 35
bool
shouldDefer()
Determine if this property should be deferred.
at line 43
string
group()
Get the defer group for this property.