performOperation Method

Perform a series of changes to markup elements that should all be reversed as a single operation.

performOperation(cmdName: string, fn: VoidFunction): void

note all of the onXXX methods of this class should only be called from within the callback function of this method.

Parameter Type Description
cmdName string  
fn VoidFunction the function that performs the changes to the elements. It must call the onXXX methods of this class to store
the operations in the undo buffer.

Returns - void

Defined in

Last Updated: 12 June, 2024