Namespace: cq-redo

WebComponents. cq-redo

Redo web component <cq-redo>.

Pairs with WebComponents.cq-undo to redo changes to a drawing.

Example

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

Methods


pairUp()

Finds WebComponents.cq-undo and pairs with it to find the last undo and reverse it.

Example
$("cq-redo")[0].pairUp($("cq-undo"));