Search
Preparing search index...
The search index is not available
@kano/code
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
ClockPart
Class ClockPart
Hierarchy
Part
ClockPart
Index
Constructors
constructor
Properties
_components
id
name
subscriptions
user
Subscriptions
Accessors
type
Methods
apply
Transform
dispose
get
get
Component
get
Current
load
on
Install
on
Start
on
Stop
render
Components
reset
reset
Transform
serialize
transform
Legacy
Constructors
constructor
new
Clock
Part
(
)
:
ClockPart
Returns
ClockPart
Properties
Protected
_components
_components
:
Map
<
string
,
PartComponent
>
= new Map()
Optional
id
id
:
undefined
|
string
Optional
name
name
:
undefined
|
string
Protected
subscriptions
subscriptions
:
IDisposable
[]
= []
Protected
user
Subscriptions
user
Subscriptions
:
IDisposable
[]
= []
Accessors
Static
type
type
:
Methods
apply
Transform
apply
Transform
(
ctx
:
CanvasRenderingContext2D
)
:
void
Parameters
ctx:
CanvasRenderingContext2D
Returns
void
dispose
dispose
(
)
:
void
Returns
void
get
get
(
key
:
"date"
|
"time"
)
:
string
Parameters
key:
"date"
|
"time"
Returns
string
get
Component
get
Component
(
id
:
string
)
:
undefined
|
PartComponent
Parameters
id:
string
Returns
undefined
|
PartComponent
get
Current
get
Current
(
key
:
IDateKey
)
:
number
Parameters
key:
IDateKey
Returns
number
load
load
(
data
:
any
)
:
void
Parameters
data:
any
Returns
void
on
Install
on
Install
(
context
:
IPartContext
)
:
void
Parameters
context:
IPartContext
Returns
void
on
Start
on
Start
(
)
:
void
Returns
void
on
Stop
on
Stop
(
)
:
void
Returns
void
render
Components
render
Components
(
ctx
:
CanvasRenderingContext2D
)
:
Promise
<
void
>
Parameters
ctx:
CanvasRenderingContext2D
Returns
Promise
<
void
>
reset
reset
(
)
:
void
Returns
void
reset
Transform
reset
Transform
(
ctx
:
CanvasRenderingContext2D
)
:
void
Parameters
ctx:
CanvasRenderingContext2D
Returns
void
serialize
serialize
(
)
:
object
Returns
object
[
K:
string
]:
any
Static
transform
Legacy
transform
Legacy
(
app
:
any
)
:
void
Parameters
app:
any
Returns
void
Globals
Clock
Part
constructor
_components
id
name
subscriptions
user
Subscriptions
type
apply
Transform
dispose
get
get
Component
get
Current
load
on
Install
on
Start
on
Stop
render
Components
reset
reset
Transform
serialize
transform
Legacy
Generated using
TypeDoc