interface AnchorEvents {
    change: ((e) => void);
}

Properties

Properties

change: ((e) => void)

Fires whenever the anchor position changes. Both of these objects have a row and column property corresponding to the position. Events that can trigger this function include [[Anchor.setPosition setPosition()]].

Type declaration

    • (e): void
    • Fires whenever the anchor position changes. Both of these objects have a row and column property corresponding to the position. Events that can trigger this function include [[Anchor.setPosition setPosition()]].

      Parameters

      • e: {
            old: Ace.Point;
            value: Ace.Point;
        }

        An object containing information about the anchor position. It has two properties:

        • old: An object describing the old Anchor position
        • value: An object describing the new Anchor position

      Returns void

Param: e

An object containing information about the anchor position. It has two properties:

  • old: An object describing the old Anchor position
  • value: An object describing the new Anchor position

Generated using TypeDoc