ListLayout
class ListLayout extends Layout (View source)
Methods
string
label()
The text label for the layout.
string|null
icon()
The icon representing the layout.
string|null
wrapperClass()
Class to apply to the wrapper element.
string
itemComponent()
The name of the component used to display a post in the layout.
void
scope(Builder $query)
Apply a scope to the post feed query when this layout is active.
from
Layout
string|null
configField()
Name of the Waterhole\Forms\Field class for configuration of the layout.
Details
string
label()
The text label for the layout.
string|null
icon()
The icon representing the layout.
string|null
wrapperClass()
Class to apply to the wrapper element.
string
itemComponent()
The name of the component used to display a post in the layout.
in
Layout at line 41
void
scope(Builder $query)
Apply a scope to the post feed query when this layout is active.
string|null
configField()
Name of the Waterhole\Forms\Field class for configuration of the layout.