Search
Preparing search index...
The search index is not available
tabby-core
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
tabby-core
SubscriptionContainer
Class SubscriptionContainer
Hierarchy
SubscriptionContainer
Index
Constructors
constructor
Properties
events
subscriptions
Methods
add
Event
Listener
cancel
All
is
Empty
subscribe
Constructors
constructor
new
Subscription
Container
(
)
:
SubscriptionContainer
Returns
SubscriptionContainer
Properties
Private
events
events
:
CancellableEvent
[]
= []
Private
subscriptions
subscriptions
:
Subscription
[]
= []
Methods
add
Event
Listener
add
Event
Listener
(
element
:
HTMLElement
, event
:
string
, handler
:
EventListenerOrEventListenerObject
, options
?:
boolean
|
AddEventListenerOptions
)
:
void
Parameters
element:
HTMLElement
event:
string
handler:
EventListenerOrEventListenerObject
Optional
options:
boolean
|
AddEventListenerOptions
Returns
void
cancel
All
cancel
All
(
)
:
void
Returns
void
is
Empty
is
Empty
(
)
:
boolean
Returns
boolean
subscribe
subscribe
<
T
>
(
observable
:
Observable
<
T
>
, handler
:
(
(
v
:
T
)
=>
void
)
)
:
void
Type Parameters
T
Parameters
observable:
Observable
<
T
>
handler:
(
(
v
:
T
)
=>
void
)
(
v
:
T
)
:
void
Parameters
v:
T
Returns
void
Returns
void
Exports
Subscription
Container
constructor
events
subscriptions
add
Event
Listener
cancel
All
is
Empty
subscribe
Generated using
TypeDoc