"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.makePointerScroll = void 0;
const pointerdown_1 = require("./event/pointer/pointerdown");
const pointermove_1 = require("./event/pointer/pointermove");
function makePointerScroll(component) {
    let pointerDown = false;
    let pointerMoveUnlisten;
    let pointUpUnlisten;
    const pointerDownUnlisten = component.addEventListener((0, pointerdown_1.makePointerDownListener)(() => {
        pointerDown = true;
        const pointerMoveListener = (event) => { };
        component.addEventListener((0, pointermove_1.makePointerMoveListener)(pointerMoveListener));
    }));
    return pointerDownUnlisten;
}
exports.makePointerScroll = makePointerScroll;
//# sourceMappingURL=pointerScroll.js.map