Skip to main content

Home > @jsplumbtoolkit/browser-ui > ViewOptionsCommon > mergeStrategy

ViewOptionsCommon.mergeStrategy property

When merging a type description into its parent(s), values in the child for connector, anchor and anchors will always overwrite any such values in the parent. But other values, such as overlays, will be merged with their parent's entry for that key. You can force a child's type to override _every_ corresponding value in its parent by setting mergeStrategy:'override'.

Signature:

mergeStrategy?: string;