Skip to content

ckeditor5-elements / ElementOrPositionTarget

Type Alias: ElementOrPositionTarget ​

ts
type ElementOrPositionTarget = 
  | ElementOrPosition
  | (() => ElementOrPosition | null);

The target of a button: a position or an element, or a function that returns one (or null).