UNPKG

@print-one/grapesjs

Version:

Free and Open Source Web Builder Framework

32 lines (26 loc) 638 B
export interface TraitManagerConfig { /** * Style prefix. * @default 'trt-' */ stylePrefix?: string; /** * Specify the element to use as a container, string (query) or HTMLElement. * With the empty value, nothing will be rendered. * @default '' */ appendTo?: string | HTMLElement; /** * Avoid rendering the default Trait Manager UI. * @default false */ custom?: boolean; optionsTarget?: Record<string, any>[]; } const config: TraitManagerConfig = { stylePrefix: 'trt-', appendTo: '', optionsTarget: [{ value: false }, { value: '_blank' }], custom: false, }; export default config;