[]
        
(Showing Draft Content)

Custom undoable commands

This example demonstrates how to create a custom undoable command with user-defined code that can be easily integrated into a viewer with support for Undo and Redo functionalities. For example, we create an undoable custom command that changes the opacity of the main viewer element.

JSCodeMine Sample:Custom undoable command
Edit Codemine Block
Edit in JS CodeMine
codemineBlock