import { KCBeacon } from '../../../elements/kc-beacon.js';
export class BeaconWidget {
    constructor() {
        this.position = null;
    }
    getDomNode() {
        if (!this.domNode) {
            this.domNode = new KCBeacon();
            this.domNode.style.pointerEvents = 'none';
            this.domNode.style.transition = 'transform linear 50ms';
        }
        return this.domNode;
    }
    setPosition(p) {
        this.position = p;
    }
    getPosition() {
        return this.position;
    }
}
//# sourceMappingURL=beacon.js.map