Enumeration
GlobalClashResolutionStrategy
The resolution strategy to employ for imported styles that have the same names as existing styles.
In UXP, compare with equals() — the == and === operators do not work on DOM objects: myPath.pathType.equals(PathType.CLOSED_PATH), not myPath.pathType == PathType.CLOSED_PATH.
Values
| Name | Type | Access | Description |
|---|---|---|---|
| Number = 1147495276 | readonly | Does not import styles whose names clash with existing items. | |
| Number = 1279350607 | readonly | Overwrites existing styles whose names clash with imported items. | |
| Number = 1279350610 | readonly | Renames imported styles whose names clash with existing items to preserve existing items. |
Parameter of 2
Method parameters that accept an GlobalClashResolutionStrategy value.