Grid
class Grid extends Component (View source)
Traits
Properties
static protected array | $configurations | from Configurable | |
static protected array | $importantConfigurations | from Configurable | |
protected string | $evaluationIdentifier | from EvaluatesClosures | |
protected array | $evaluationParametersToRemove | from EvaluatesClosures | |
protected string | $view | ||
protected array | $viewData | from ViewComponent | |
protected string | $viewIdentifier | from Component | |
static protected array | $propertyCache | from ViewComponent | |
static protected array | $methodCache | from ViewComponent | |
protected Component|null | $layout | from BelongsToLayout | |
protected Table|null | $table | from BelongsToTable | |
$hiddenFrom | from CanBeHidden | ||
protected bool|Closure | $isHidden | from CanBeHidden | |
protected string|Closure|null | $visibleFrom | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected array | $columnSpan | from CanSpanColumns | |
protected bool|Closure | $canGrow | from CanGrow | |
protected Model|null | $record | from HasRecord | |
protected stdClass|null | $loop | from HasRowLoopObject | |
protected array | $extraAttributes | from HasExtraAttributes | |
protected array|Closure | $components | from Component | |
protected bool | $isCollapsible | from Component | |
protected bool|Closure | $isCollapsed | from Component | |
protected array|null | $columns |
Methods
No description
No description
No description
No description
No description
No description
Details
static
configureUsing(Closure $callback, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
evaluate($value, array $parameters = [], array $exceptParameters = [])
No description
protected array
getDefaultEvaluationParameters()
No description
protected
resolveEvaluationParameter(string $parameter, Closure $value)
No description
protected bool
isEvaluationParameterRemoved(string $parameter)
No description
ViewComponent
view(string $view, array $viewData = [])
No description
protected array
extractPublicProperties()
No description
protected array
extractPublicMethods()
No description
ViewComponent
viewData(array $data)
No description
string
getView()
No description
string
toHtml()
No description
View
render()
No description
BelongsToLayout
layout(Component|null $layout)
No description
Component|null
getLayout()
No description
BelongsToTable
table(Table|null $table)
No description
Table
getTable()
No description
HasTable
getLivewire()
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
CanBeHidden
hiddenFrom(string|Closure|null $breakpoint)
No description
CanBeHidden
visibleFrom(string|Closure|null $breakpoint)
No description
string|null
getHiddenFrom()
No description
string|null
getVisibleFrom()
No description
bool
isHidden()
No description
CanSpanColumns
columnSpan(array|int|string|Closure|null $span)
No description
array|int|string|null
getColumnSpan(int|string|null $breakpoint = null)
No description
CanGrow
grow(bool|Closure $condition = true)
No description
bool
canGrow()
No description
HasRecord
record(Model $record)
No description
Model|null
getRecord()
No description
HasRowLoopObject
rowLoop(stdClass|null $loop)
No description
stdClass|null
getRowLoop()
No description
HasExtraAttributes
extraAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
Component
schema(array|Closure $schema)
No description
Component
components(array|Closure $components)
No description
Component
collapsible(bool $condition = true)
No description
Component
collapsed(bool|Closure $condition = true)
No description
bool
isCollapsed()
No description
array
getColumns()
No description
array
getComponents()
No description
bool
isCollapsible()
No description
final
__construct(array|int|string|null $columns)
No description
static Grid
make(array|int|string|null $columns = 2)
No description
Grid
columns(array|int|string|null $columns = 2)
No description
array|null
getGridColumns()
No description