How to get addCustomMutation

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

Type: Function

Register a custom mutation, a callback to manipulate the XML of a document directly.


# Name Type Description
1. mutationName String

The name used to refer to this mutation from operations (using a step of type custom-mutation/).

2. callback CustomMutation

The function called to perform the XML mutation.

3. [getTransactionInfo] Function

For internal use only, do not use.

Was this page helpful?