Back to Website
Show / Hide Table of Contents

Interface ICommonConfig

A structure for common settings of widgets.

Package: @aurigma/design-editor-iframe
Examples
configuration = {
   widgets: {
       common: {
           fontSize: { max: 50, min: 5, step: 5 },
           tracking: { max: 100, min: -50, step: 25 },
           leading: { max: 50, min: 5, step: 5 }
       }
   }
};

Properties

fontSize

Sets font size range.

Declaration
fontSize?: IRangeParams;
Property Value
Type Description
IRangeParams

Sets font size range.

gallery

Specifies default settings of the Gallery.

Declaration
gallery?: IGalleryDefaultConfig;
Property Value
Type Description
IGalleryDefaultConfig

Specifies default settings of the Gallery.

leading

Sets font leading range.

Declaration
leading?: IRangeParams;
Property Value
Type Description
IRangeParams

Sets font leading range.

textFormattingEnabled

If true, allows for changing the rich text format. This parameter is applied to text layers with the <TATF_null> marker. The default value is true.

Declaration
textFormattingEnabled?: boolean;
Property Value
Type Description
boolean

If true, allows for changing the rich text format. This parameter is applied to text layers with the <TATF_null> marker. The default value is true.

tracking

Sets font tracking range.

Declaration
tracking?: IRangeParams;
Property Value
Type Description
IRangeParams

Sets font tracking range.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback