Builds the dropdown's options and keeps the preview picture in step with the chosen theme.
A function expression, never shorthand method syntax. Clay serialises a registered component
by writing key: followed by the function's own toString, and a shorthand method stringifies
with its name attached, which comes out as initialize:initialize() { and stops the whole
settings page parsing.
Clay calls this with the lodash build it bundles and then the config instance. The config
instance carries the watch the page was opened from, which is how a platform-keyed theme knows
which shots to draw.
manipulator: string
name: string
The component type name, matched by a Clay config item's own type: 'themePreview'.
Builds the dropdown's options and keeps the preview picture in step with the chosen theme.
A
functionexpression, never shorthand method syntax. Clay serialises a registered component by writingkey:followed by the function's own toString, and a shorthand method stringifies with its name attached, which comes out asinitialize:initialize() {and stops the whole settings page parsing.Clay calls this with the lodash build it bundles and then the config instance. The config instance carries the watch the page was opened from, which is how a platform-keyed theme knows which shots to draw.