Specifies the configuration for the user interface of the Creative Editor SDK.
The UserInterface
interface provides a set of properties that control the appearance
and behavior of the user interface. These options include settings for the base URL,
scale, elements, stylesheets, visibility, small viewport optimization, color palette,
color libraries, typeface libraries, page presets libraries, crop presets libraries,
and page formats.
Properties#
Property | Type | Description |
---|---|---|
baseURL? | string | - |
scale? | Scale | - |
elements? | UserInterfaceElements | - |
stylesheets? | object | - |
stylesheets.disableShadowDOM? | boolean | - |
hide? | boolean | - |
smallViewportOptimization? | boolean | - |
colorPalette? | PaletteColor [] | Deprecated The configuration options ui.colorPalette has been deprecated. Please use ui.colorLibraries and asset sources instead. |
colorLibraries? | string [] | - |
typefaceLibraries? | string [] | - |
pagePresetsLibraries? | string [] | (engine ) => string [] |
cropPresetsLibraries? | string [] | (engine ) => string [] |
pageFormats? | object | - |