import { NgxMoveableComponent } from "ngx-moveable"; import { ViewChild, ElementRef, Component } from "@angular/core"; @Component({ selector: "ngx-app", templateUrl: "./App.component.html" }) export default class NgxAppComponent { @ViewChild("targetRef1") targetRef1!: ElementRef; @ViewChild("targetRef2") targetRef2!: ElementRef; onClick() { this.targetRef1!.focus(); } onClick$0() { this.targetRef2!.focus(); } onDrag(e) { e.target.style.cssText += e.cssText; } onDrag$0(e) { e.target.style.cssText += e.cssText; } }