trait CanEmitEvent (View source)

Properties

protected string|Closure|null $event
protected array|Closure $eventData
protected string|bool $emitDirection
protected string|null $emitToComponent

Methods

emit(string|Closure|null $event, array|Closure $data = [])

No description

emitSelf(string|Closure|null $event, array|Closure $data = [])

No description

emitTo(string $component, string|Closure|null $event, array|Closure $data = [])

No description

emitUp(string|Closure|null $event, array|Closure $data = [])

No description

string|null
getEvent()

No description

eventData(array|Closure $data)

No description

array
getEventData()

No description

string|bool
getEmitDirection()

No description

string|null
getEmitToComponent()

No description

string|null
getLivewireMountAction()

No description

Details

CanEmitEvent emit(string|Closure|null $event, array|Closure $data = [])

No description

Parameters

string|Closure|null $event
array|Closure $data

Return Value

CanEmitEvent

CanEmitEvent emitSelf(string|Closure|null $event, array|Closure $data = [])

No description

Parameters

string|Closure|null $event
array|Closure $data

Return Value

CanEmitEvent

CanEmitEvent emitTo(string $component, string|Closure|null $event, array|Closure $data = [])

No description

Parameters

string $component
string|Closure|null $event
array|Closure $data

Return Value

CanEmitEvent

CanEmitEvent emitUp(string|Closure|null $event, array|Closure $data = [])

No description

Parameters

string|Closure|null $event
array|Closure $data

Return Value

CanEmitEvent

string|null getEvent()

No description

Return Value

string|null

CanEmitEvent eventData(array|Closure $data)

No description

Parameters

array|Closure $data

Return Value

CanEmitEvent

array getEventData()

No description

Return Value

array

string|bool getEmitDirection()

No description

Return Value

string|bool

string|null getEmitToComponent()

No description

Return Value

string|null

string|null getLivewireMountAction()

No description

Return Value

string|null