import { NgxMoveableComponent } from "ngx-moveable"; import { Component, OnInit } from "@angular/core"; @Component({ selector: "ngx-app", templateUrl: "./App.component.html" }) export default class NgxAppComponent implements OnInit { arr: any = []; ngOnInit() { for (let i = 0; i < 300; ++i) { this.arr.push(i); } } onRender(e) { e.target.style.cssText += e.cssText; } }