trait CanBeSearchable (View source)

Properties

protected bool|Closure $isSearchable
protected Htmlable|Closure|null $noSearchResultsMessage
protected int|Closure $searchDebounce
protected string|Closure|null $searchingMessage
protected Htmlable|Closure|null $searchPrompt
protected bool|Closure $shouldSearchLabels
protected bool|Closure $shouldSearchValues

Methods

searchable(bool|Closure $condition = true)

No description

noSearchResultsMessage(Htmlable|Closure|null $message)

No description

searchDebounce(int|Closure $debounce)

No description

searchingMessage(string|Closure|null $message)

No description

searchPrompt(Htmlable|Closure|null $message)

No description

searchLabels(bool|Closure|null $condition = true)

No description

searchValues(bool|Closure|null $condition = true)

No description

Htmlable
getNoSearchResultsMessage()

No description

Htmlable
getSearchPrompt()

No description

bool
shouldSearchLabels()

No description

bool
shouldSearchValues()

No description

array
getSearchableOptionFields()

No description

int
getSearchDebounce()

No description

string
getSearchingMessage()

No description

bool
isSearchable()

No description

Details

CanBeSearchable searchable(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeSearchable

CanBeSearchable noSearchResultsMessage(Htmlable|Closure|null $message)

No description

Parameters

Htmlable|Closure|null $message

Return Value

CanBeSearchable

CanBeSearchable searchDebounce(int|Closure $debounce)

No description

Parameters

int|Closure $debounce

Return Value

CanBeSearchable

CanBeSearchable searchingMessage(string|Closure|null $message)

No description

Parameters

string|Closure|null $message

Return Value

CanBeSearchable

CanBeSearchable searchPrompt(Htmlable|Closure|null $message)

No description

Parameters

Htmlable|Closure|null $message

Return Value

CanBeSearchable

CanBeSearchable searchLabels(bool|Closure|null $condition = true)

No description

Parameters

bool|Closure|null $condition

Return Value

CanBeSearchable

CanBeSearchable searchValues(bool|Closure|null $condition = true)

No description

Parameters

bool|Closure|null $condition

Return Value

CanBeSearchable

Htmlable getNoSearchResultsMessage()

No description

Return Value

Htmlable

Htmlable getSearchPrompt()

No description

Return Value

Htmlable

bool shouldSearchLabels()

No description

Return Value

bool

bool shouldSearchValues()

No description

Return Value

bool

array getSearchableOptionFields()

No description

Return Value

array

int getSearchDebounce()

No description

Return Value

int

string getSearchingMessage()

No description

Return Value

string

bool isSearchable()

No description

Return Value

bool