import { NgxMoveableComponent } from "ngx-moveable"; import { Component } from "@angular/core"; @Component({ selector: "ngx-app", templateUrl: "./App.component.html" }) export default class NgxAppComponent { threshold: any = "$preview_threshold"; checkScrollEvent: any = "$preview_checkScrollEvent"; throttleTime: any = "$preview_throttleTime"; onRender(e) { e.target.style.cssText += e.cssText; } onScroll({ scrollContainer, direction }) { scrollContainer.scrollBy(direction[0] * 10, direction[1] * 10); } }