Interface ISnapLinesConfig
A structure containing the configuration of snap lines.
Package: @aurigma/design-editor-iframe
Remarks
For details, see the Snap lines topic.
Examples
configuration = {
canvas: {
snapLines: {
items: {
enabled: true,
color: "rgb(255,0,0)",
tolerance: 5,
priority: 2
}
}
}
};
Properties
interactiveZones
Declaration
interactiveZones: ISnapElementConfiguration;
Property Value
| Type | Description |
|---|---|
| ISnapElementConfiguration |
items
The configuration of snap lines that clings to design elements.
Declaration
items: ISnapElementConfiguration;
Property Value
| Type | Description |
|---|---|
| ISnapElementConfiguration | The configuration of snap lines that clings to design elements. |
printArea
The configuration of snap lines that clings to the product page.
Declaration
printArea: ISnapElementConfiguration;
Property Value
| Type | Description |
|---|---|
| ISnapElementConfiguration | The configuration of snap lines that clings to the product page. |
safetyLines
The configuration of snap lines that clings to safety lines.
Declaration
safetyLines: ISnapElementConfiguration;
Property Value
| Type | Description |
|---|---|
| ISnapElementConfiguration | The configuration of snap lines that clings to safety lines. |