Skip to content

Cm5Editor.coordsChar method

Cm5Editor › coordsChar

Unofficial

Returns the position corresponding to the given coordinates.

Signature:

coordsChar(coords: Cm5EditorCoordsCharInput, mode?: Cm5CoordsMode | undefined): Position

Parameters:

Parameter Type Description
coords Cm5EditorCoordsCharInput The coordinates with left and top properties.
mode? Cm5CoordsMode | undefined The coordinate system used.

Returns: PositionThe corresponding position.