API Reference
Namespaces
Classes
Events
Global
Externals

Namespace: cq-undo

WebComponents. cq-undo

Undo web component <cq-undo>.

Example

<cq-undo-section>
	<cq-undo class="ciq-btn">Undo</cq-undo>
	<cq-redo class="ciq-btn">Redo</cq-redo>
</cq-undo-section>

Methods


clear(context)

Clears the stack of all redo or undo operations for the context

Parameters:
Name Type Description
context CIQ.UI.Context

The context to clear


redo()

Reverts latest undone drawing.


undo()

Reverts last drawing made.