Skip to main content

Interface: InitializationOptions

Properties

scrollTarget

Optional scrollTarget: string | Element

By default, scrolling will be locked in game frame to prevent unexpected behavior (e.g. scroll while flicking). If scrolling is needed, set an element (or its selector) here, then the element (including its children) will be scrollable. If scrolling lock needs to be disabled, set document.body here.

Defined in

types/initialization.ts:7