Search results

FocusEventArgs API in JavaScript (ES5) Blockeditor API control

This event is triggered when a block or the block editor gains focus.

Properties

blockIndex

number

The index of the block that currently has focus or selection.

event

Event

The native event (e.g., mouse, keyboard) that triggered the focus action.