Scroll

scroll:target#

Emitted when the editor scrolls to a target element.

Type: signal.

Payload:

  • target — target container element

Example:

app.on('scroll:target', ({ target }) => {
  console.log('scroll:target', { target });
});