CustomMutationResult

Type: Class

How to get CustomMutationResult?

JavaScript

import CustomMutationResult from 'fontoxml-base-flow/src/CustomMutationResult.js'

Represents the result of a custom mutation.

Constructor arguments

  1. operationIsEnabled

    (Required)

    Type: Boolean

Methods

setActive

Type: Function

Set the active property of the operation using this custom mutation.

Related links

Arguments

Returns

Static properties

notAllowed

Type: Function

Indicates the custom mutation can not be applied in the current situation.

Any changes made to the blueprint or selection will be ignored.

Returns

ok

Type: Function

Indicates the changes in the blueprint and/or selection should be applied to the document, provided the result is valid.

Returns