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 |
tracking
Sets font tracking range.
Declaration
tracking?: IRangeParams;
Property Value
| Type | Description |
|---|---|
| IRangeParams | Sets font tracking range. |