replaceSelection Method

Change selection.

replaceSelection(keys: Keys, level: number = 0): void

Parameter Type Description
keys Keys The keys indicating the new selection.
level number Level of the selection.

Defined in

Last Updated: 08 January, 2020