trait CanBeCopied (View source)

Properties

protected bool|Closure $isCopyable
protected string|Closure|null $copyMessage
protected int|Closure|null $copyMessageDuration
protected string|Closure|null $copyableState

Methods

copyable(bool|Closure $condition = true)

No description

copyMessage(string|Closure|null $message)

No description

copyMessageDuration(int|Closure|null $duration)

No description

copyableState(string|Closure|null $state)

No description

string
getCopyMessage()

No description

int
getCopyMessageDuration()

No description

string|null
getCopyableState()

No description

bool
isCopyable()

No description

bool
isClickDisabled()

No description

Details

CanBeCopied copyable(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeCopied

CanBeCopied copyMessage(string|Closure|null $message)

No description

Parameters

string|Closure|null $message

Return Value

CanBeCopied

CanBeCopied copyMessageDuration(int|Closure|null $duration)

No description

Parameters

int|Closure|null $duration

Return Value

CanBeCopied

CanBeCopied copyableState(string|Closure|null $state)

No description

Parameters

string|Closure|null $state

Return Value

CanBeCopied

string getCopyMessage()

No description

Return Value

string

int getCopyMessageDuration()

No description

Return Value

int

string|null getCopyableState()

No description

Return Value

string|null

bool isCopyable()

No description

Return Value

bool

bool isClickDisabled()

No description

Return Value

bool