registerWheelScrollTarget
registerWheelScrollTarget(
context,target):EditorDisposable
Opt an external overlay into the editor’s native scroll pipeline. Do not register a native descendant or a shared ancestor: those would make ordinary editor scrolling wait for JS. Disposing the contribution must dispose this registration as well.
Parameters
Section titled “Parameters”context
Section titled “context”Pick<EditorViewContributionContext, "scrollElement">
target
Section titled “target”HTMLElement