IAnalyticalDesignerUndoRedoProps
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Props of the undo and redo controls, which are one control.
export interface IAnalyticalDesignerUndoRedoProps extends IAnalyticalDesignerHeaderContext
Extends: IAnalyticalDesignerHeaderContext
Remarks
The default owns its localized tooltips and accessible names; a replacement supplies its own.
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | (ALPHA) Whether there is nothing to redo, or the visualization is being saved. | ||
boolean | (ALPHA) Whether there is nothing to undo, or the visualization is being saved. | ||
() => void | (ALPHA) Redoes the last undone change. Ignored when redo is disabled. | ||
() => void | (ALPHA) Undoes the last change. Ignored when undo is disabled. |
Property details
IAnalyticalDesignerUndoRedoProps.isRedoDisabledpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Whether there is nothing to redo, or the visualization is being saved.
isRedoDisabled: boolean;
IAnalyticalDesignerUndoRedoProps.isUndoDisabledpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Whether there is nothing to undo, or the visualization is being saved.
isUndoDisabled: boolean;
IAnalyticalDesignerUndoRedoProps.onRedopropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Redoes the last undone change. Ignored when redo is disabled.
onRedo: () => void;
IAnalyticalDesignerUndoRedoProps.onUndopropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Undoes the last change. Ignored when undo is disabled.
onUndo: () => void;