Search
Preparing search index...
The search index is not available
Marketplace
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"components/mixins/events"
EventsMixin
Class EventsMixin
Hierarchy
object
&
object
&
Vue
<
this
>
EventsMixin
Implements
EventsMixinInterface
Index
Properties
events
vue
Active
Methods
$attach
Event
$on
Document
Visibility
$on
Echo
$on
Echo
Whisper
$on
ElResize
$on
Event
Listener
$onJS
$on
Vue
activated
deactivated
destroyed
Properties
events
events
:
[
Function
,
Function
]
[]
= []
vue
Active
vue
Active
:
boolean
= true
Methods
$attach
Event
$attach
Event
(
add
:
Function
, remove
:
Function
)
:
void
Parameters
add:
Function
remove:
Function
Returns
void
$on
Document
Visibility
$on
Document
Visibility
(
listener
:
function
)
:
void
Parameters
listener:
function
(
hidden
:
boolean
)
:
void
Parameters
hidden:
boolean
Returns
void
Returns
void
$on
Echo
$on
Echo
(
type
:
ChannelType
, channel
:
string
, event
:
string
, listener
:
function
)
:
void
Parameters
type:
ChannelType
channel:
string
event:
string
listener:
function
(
payload
:
any
)
:
void
Parameters
payload:
any
Returns
void
Returns
void
$on
Echo
Whisper
$on
Echo
Whisper
(
type
:
ChannelType
, channel
:
string
, event
:
string
, listener
:
Function
)
:
void
Parameters
type:
ChannelType
channel:
string
event:
string
listener:
Function
Returns
void
$on
ElResize
$on
ElResize
(
el
:
Element
, listener
:
Function
)
:
void
Parameters
el:
Element
listener:
Function
Returns
void
$on
Event
Listener
$on
Event
Listener<Payloads, T>
(
eventListener
:
EventListener
<
Payloads
,
string
>
, event
:
T
, listener
:
function
)
:
void
Type parameters
Payloads
:
EventListenerPayloads
T
:
keyof Payloads
Parameters
eventListener:
EventListener
<
Payloads
,
string
>
event:
T
listener:
function
(
payload
:
Payloads[T]
)
:
void
Parameters
payload:
Payloads[T]
Returns
void
Returns
void
$onJS
$onJS
(
target
:
EventTarget
, event
:
string
, listener
:
EventListenerOrEventListenerObject
)
:
void
Parameters
target:
EventTarget
event:
string
listener:
EventListenerOrEventListenerObject
Returns
void
$on
Vue
$on
Vue
(
vm
:
Vue
, event
:
string
, listener
:
Function
)
:
void
Parameters
vm:
Vue
event:
string
listener:
Function
Returns
void
activated
activated
(
)
:
void
Returns
void
deactivated
deactivated
(
)
:
void
Returns
void
destroyed
destroyed
(
)
:
void
Returns
void
Globals
"components/mixins/events"
Events
Mixin
events
vue
Active
$attach
Event
$on
Document
Visibility
$on
Echo
$on
Echo
Whisper
$on
ElResize
$on
Event
Listener
$onJS
$on
Vue
activated
deactivated
destroyed
Events
Mixin
Interface
Function
Generated using
TypeDoc