Pebble App Framework
main
How It Works
CLI
Device API
Phone API
C Coverage
TS Coverage
GitHub
Theme
Pebble App Framework: Phone API
Preparing search index...
clay/theme-preview-component
ThemePreviewContext
Interface ThemePreviewContext
The Clay row context initialize binds to. It is a ClayItem, so it carries on() as well.
interface
ThemePreviewContext
{
$element
:
HTMLElement
[]
;
$manipulatorTarget
?:
{
get
(
key
:
string
)
:
unknown
}
;
config
:
{
description
?:
string
;
label
?:
string
;
messageKey
?:
string
;
options
?:
{
label
:
string
;
value
:
string
|
number
}
[]
;
previews
?:
|
Record
<
string
,
ThemePreviewPictures
>
|
Record
<
string
,
Record
<
string
,
ThemePreviewPictures
>
>
;
previewsByKey
?:
string
;
}
;
on
(
event
:
string
,
handler
:
()
=>
void
)
:
void
;
}
Index
Properties
$element
$manipulator
Target?
config
Methods
on
Properties
$element
$element
:
HTMLElement
[]
Optional
$manipulator
Target
$manipulatorTarget
?:
{
get
(
key
:
string
)
:
unknown
}
config
config
:
{
description
?:
string
;
label
?:
string
;
messageKey
?:
string
;
options
?:
{
label
:
string
;
value
:
string
|
number
}
[]
;
previews
?:
|
Record
<
string
,
ThemePreviewPictures
>
|
Record
<
string
,
Record
<
string
,
ThemePreviewPictures
>
>
;
previewsByKey
?:
string
;
}
Methods
on
on
(
event
:
string
,
handler
:
()
=>
void
)
:
void
Parameters
event
:
string
handler
:
()
=>
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
$element
$manipulator
Target
config
Methods
on
Pebble App Framework: Phone API
Loading...
The Clay row context initialize binds to. It is a ClayItem, so it carries on() as well.