/** * Options of the `scrollview` component accepted by {@link ScrollViewComponentSystem} that differ * from the properties of {@link ScrollViewComponent}. Each replaces the same-named property of the * options that {@link Entity#addComponent} derives from the component class; see * {@link ComponentOptionsOverrides}. */ export type ScrollViewComponentOptionsOverrides = { /** * - Same as * {@link ScrollViewComponent#mouseWheelSensitivity}, also accepting an `[x, y]` array. */ mouseWheelSensitivity?: Vec2 | number[]; }; /** * Manages the {@link ScrollViewComponent}s of an application. Reach it through * `app.systems.scrollview`; components are created with {@link Entity#addComponent}, never by * calling the system directly. * * @category User Interface */ export class ScrollViewComponentSystem extends ComponentSystem { id: string; ComponentType: typeof ScrollViewComponent; initializeComponentData(component: any, data: any, properties: any): void; cloneComponent(entity: any, clone: any): import("../component.js").Component; onUpdate(dt: any): void; onBeforeRemove(entity: any, component: any): void; } import type { Vec2 } from '../../../core/math/vec2.js'; import { ComponentSystem } from '../system.js'; import { ScrollViewComponent } from './component.js';