preoccupyjs
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Actions
Name
Transport
Events
Base
Action
Click
ToAction
Client
Cursor
Dbl
Click
ToAction
Dom
Controller
Event
Emitter
Host
Keydown
Action
Keypress
Action
Keyup
Action
Local
Transport
constructor
connected
listeners
preifx
published
Messages
stack
Size
storage
clean
Up
connect
disconnect
handle
Event
handshake
is
External
Message
off
on
on
Storage
Message
publish
trigger
Message
Mouse
Down
ToAction
Mouse
UpTo
Action
Move
ToAction
Right
Click
ToAction
Rxjs
Transport
Scroll
ByAction
Abstract
Transport
Coordinates
Preoccupy
Action
Raw
Preoccupy
Action
Rxjs
Transport
Options
Transport
Event
Listener
CURSOR
DEBUG_
FLAG
MOCK_
ACTION_
TYPE
STACK_
LENGTH
action
Map
local
Transport
create
Client
create
Host
css
pick
Hierarchy
EventEmitter
LocalTransport
Implements
AbstractTransport
Index
Constructors
constructor
Properties
connected
listeners
preifx
published
Messages
stack
Size
storage
Methods
clean
Up
connect
disconnect
handle
Event
handshake
is
External
Message
off
on
on
Storage
Message
publish
trigger
Constructors
constructor
new
Local
Transport
(
preifx
?:
string
, stackSize
?:
number
)
:
LocalTransport
Parameters
Default value
preifx:
string
= "prefix"
Default value
stackSize:
number
= 10
Returns
LocalTransport
Properties
Private
connected
connected
:
boolean
= false
listeners
listeners
:
object
Type declaration
[
prop:
string
]:
Listener
[]
Private
preifx
preifx
:
string
Private
published
Messages
published
Messages
:
Message
[]
= []
Private
stack
Size
stack
Size
:
number
Private
storage
storage
:
Storage
= localStorage
Methods
Private
clean
Up
clean
Up
(
)
:
void
Returns
void
Private
connect
connect
(
)
:
void
Returns
void
disconnect
disconnect
(
)
:
void
Returns
void
handle
Event
handle
Event
(
event
:
Event
)
:
void
Parameters
event:
Event
Returns
void
handshake
handshake
(
)
:
void
Returns
void
Private
is
External
Message
is
External
Message
(
message
:
Message
)
:
boolean
Parameters
message:
Message
Returns
boolean
off
off
(
type
?:
string
)
:
void
Parameters
Optional
type:
string
Returns
void
on
on
(
type
:
TransportEvents
, callback
:
Listener
)
:
void
Parameters
type:
TransportEvents
callback:
Listener
Returns
void
Private
on
Storage
Message
on
Storage
Message
(
__namedParameters
:
object
)
:
void
Parameters
__namedParameters:
object
key
:
string
new
Value
:
string
Returns
void
publish
publish
(
action
:
PreoccupyAction
)
:
void
Parameters
action:
PreoccupyAction
Returns
void
trigger
trigger
(
type
:
TransportEvents
, detail
?:
any
)
:
void
Parameters
type:
TransportEvents
Optional
detail:
any
Returns
void
Generated using
TypeDoc