Interface GotoOptions

Goto to the location.

Remarks

If the updateSelection is false it will only update the selection if the current location is not currently in the selection range. If preserverAnchor is false the anchor will always reset to the top left.

Param: location

Param: updateSelection

Update the selection.

Default Value

true

Param: preserveAnchor

Keep the anchor in current location.

Default Value

true
interface GotoOptions {
    drawing?: IDrawingModel<DrawingJSON>;
    preserveAnchor?: boolean;
    range?: string | ISheetRange;
    updateSelection?: boolean;
}

Properties

If specified then will also attempt to focus the drawing.

preserveAnchor?: boolean

If true goto will attempt to preserve the anchor.

Default Value

true
range?: string | ISheetRange

The range to goto.

updateSelection?: boolean

If true goto will update the selection.

Default Value

true