Tabs
class Tabs extends Component (View source)
Traits
Properties
protected string | $evaluationIdentifier | from EvaluatesClosures | |
static protected Closure>> | $macros | from Macroable | |
protected string | $view | ||
protected string|Closure|null | $defaultView | from ViewComponent | |
protected array<string,mixed> | $viewData | from ViewComponent | |
protected string | $viewIdentifier | from ViewComponent | |
protected bool|Closure|null | $canGrow | from CanGrow | |
protected ComponentContainer | $container | from BelongsToContainer | |
protected bool|Closure | $isHidden | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected array | $columnSpan | from CanSpanColumns | |
protected array | $columnStart | from CanSpanColumns | |
protected Action[] | $cachedActions | from HasActions | |
protected array | $actions | from HasActions | |
protected Action|null | $action | from HasActions | |
protected Component[] | $childComponents | from HasChildComponents | |
protected string|Closure|null | $entryWrapperView | from HasEntryWrapper | |
protected string|Closure|null | $id | from HasId | |
protected bool|Closure|null | $hasInlineLabel | from HasInlineLabel | |
protected string|Closure|null | $key | from HasKey | |
protected bool|Closure | $isLabelHidden | from HasLabel | |
protected Htmlable|Closure|null | $label | from HasLabel | |
protected bool | $shouldTranslateLabel | from HasLabel | |
protected MaxWidth|string|Closure|null | $maxWidth | from HasMaxWidth | |
protected array<string,mixed> | $meta | from HasMeta | |
protected mixed | $defaultState | from HasState | |
protected mixed | $getStateUsing | from HasState | |
protected string|null | $statePath | from HasState | |
protected string|Closure|null | $separator | from HasState | |
protected bool|Closure | $isDistinctList | from HasState | |
protected string | $cachedAbsoluteStatePath | from HasState | |
protected array|null | $columns | from HasColumns | |
protected array | $extraAttributes | from HasExtraAttributes | |
protected bool|Closure | $isContained | from CanBeContained | |
protected bool | $isContainedCache | from CanBeContained | |
bool|Closure | $isTabPersisted | from CanPersistTab | |
protected array | $extraAlpineAttributes | from HasExtraAlpineAttributes | |
protected int|Closure | $activeTab | ||
protected string|Closure|null | $tabQueryStringKey |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
static mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])
No description
protected mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)
No description
protected string|null
getTypedReflectionParameterClassName(ReflectionParameter $parameter)
No description
static void
macro(string $name, callable $macro)
No description
static void
mixin(object $mixin, bool $replace = true)
No description
static void
flushMacros()
No description
static mixed
__callStatic(string $method, array $parameters)
No description
mixed
__call(string $method, array $parameters)
No description
static protected callable|null
getMacro(string $method)
No description
ViewComponent
view(string|null $view, array $viewData = [])
No description
ViewComponent
defaultView(string|Closure|null $view)
No description
protected array
extractPublicMethods()
No description
ViewComponent
viewData(array $data)
No description
string
getView()
No description
string|null
getDefaultView()
No description
string
toHtml()
No description
View
render()
No description
CanGrow
grow(bool|Closure|null $condition = true)
No description
bool
canGrow(bool $default = true)
No description
BelongsToContainer
container(ComponentContainer $container)
No description
ComponentContainer
getContainer()
No description
Infolist
getInfolist()
No description
Component|null
getLivewire()
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
hiddenWhenAllChildComponentsHidden()
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
bool
isHidden()
No description
bool
isVisible()
No description
CanSpanColumns
columnSpan(array|int|string|Closure|null $span)
No description
CanSpanColumns
columnSpanFull()
No description
CanSpanColumns
columnStart(array|int|string|Closure|null $start)
No description
array|int|string|null
getColumnSpan(int|string|null $breakpoint = null)
No description
array|int|string|null
getColumnStart(int|string|null $breakpoint = null)
No description
Cloneable
getClone()
No description
HasActions
action(Action|null $action)
No description
HasActions
registerActions(array $actions)
No description
Action|null
getAction(string|array|null $name = null)
No description
array
getActions()
No description
array
cacheActions()
No description
HasChildComponents
childComponents(array|Closure $components)
No description
HasChildComponents
schema(array|Closure $components)
No description
array
getChildComponents()
No description
ComponentContainer
getChildComponentContainer(array-key $key = null)
No description
array
getChildComponentContainers(bool $withHidden = false)
No description
bool
hasChildComponentContainer(bool $withHidden = false)
No description
HasEntryWrapper
entryWrapperView(string|Closure|null $view)
No description
string
getEntryWrapperView()
No description
string|null
getCustomEntryWrapperView()
No description
in
HasId at line 11
HasId
id(string|Closure|null $id)
No description
in
HasId at line 18
string|null
getId()
No description
HasInlineLabel
inlineLabel(bool|Closure|null $condition = true)
No description
bool|null
hasInlineLabel()
No description
in
HasKey at line 11
HasKey
key(string|Closure|null $key)
No description
in
HasKey at line 18
string|null
getKey()
No description
HasLabel
hiddenLabel(bool|Closure $condition = true)
No description
HasLabel
label(Htmlable|Closure|null $label)
No description
HasLabel
translateLabel(bool $shouldTranslateLabel = true)
No description
Htmlable|null
getLabel()
No description
bool
isLabelHidden()
No description
HasMaxWidth
maxWidth(MaxWidth|string|Closure|null $width)
No description
MaxWidth|string|null
getMaxWidth()
No description
HasMeta
meta(string $key, mixed $value)
No description
mixed
getMeta(string|array|null $keys = null)
No description
bool
hasMeta(string|array $keys)
No description
bool
hasRelationship(Model $record)
No description
Relation|null
getRelationship(Model $record, string|null $statePath = null)
No description
array
getRelationshipResults(Model $record, array|null $relationships = null)
No description
string
getRelationshipAttribute(string|null $statePath = null)
No description
string|null
getRelationshipName(string|null $statePath = null)
No description
HasState
getStateUsing(mixed $callback)
No description
HasState
state(mixed $state)
No description
HasState
default(mixed $state)
No description
HasState
distinctList(bool|Closure $condition = true)
No description
bool
isDistinctList()
No description
mixed
getDefaultState()
No description
mixed
getState()
No description
HasState
separator(string|Closure|null $separator = ',')
No description
HasState
statePath(string|null $path)
No description
string|null
getSeparator()
No description
Model|null
getRecord()
No description
bool
hasStatePath()
No description
string
getStatePath(bool $isAbsolute = true)
No description
mixed
getStateFromRecord(Model $record)
No description
protected void
flushCachedAbsoluteStatePath()
No description
HasColumns
columns(array|int|null $columns = 2)
No description
array|int|null
getColumns(string|null $breakpoint = null)
No description
array
getColumnsConfig()
No description
HasExtraAttributes
extraAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
CanBeContained
contained(bool|Closure $condition = true)
No description
bool
isContained()
No description
CanPersistTab
persistTab(bool|Closure $condition = true)
No description
bool
isTabPersisted()
No description
HasExtraAlpineAttributes
extraAlpineAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAlpineAttributes()
No description
ComponentAttributeBag
getExtraAlpineAttributeBag()
No description
final
__construct(string|null $label = null)
No description
static Tabs
make(string|null $label = null)
No description
Tabs
tabs(array|Closure $tabs)
No description
Tabs
activeTab(int|Closure $activeTab)
No description
int
getActiveTab()
No description
string|null
getTabQueryStringKey()
No description
bool
isTabPersistedInQueryString()
No description
Tabs
persistTabInQueryString(string|Closure|null $key = 'tab')
No description