WebIDLpedia

CaretPosition interface

Definition

CSSOM View Module defines CaretPosition



[Exposed=Window]
interface CaretPosition {
  readonly attribute Node offsetNode;
  readonly attribute unsigned long offset;
  [NewObject] DOMRect? getClientRect();
};

Methods and attributes that return objects implementing CaretPosition

Referring IDL interfaces/dictionaries