matrix-dimension/web/app/element/scalar-close/scalar-close.component.ts

17 lines
495 B
TypeScript
Raw Normal View History

import { Component } from "@angular/core";
import { ScalarClientApiService } from "../../shared/services/scalar/scalar-client-api.service";
@Component({
2021-09-01 19:29:24 -04:00
selector: "my-scalar-close",
2017-08-27 01:26:00 -04:00
templateUrl: "./scalar-close.component.html",
styleUrls: ["./scalar-close.component.scss"],
})
export class ScalarCloseComponent {
2021-09-01 19:01:01 -04:00
constructor(private scalar: ScalarClientApiService) {}
public closeScalar() {
console.log("Closing Dimension...");
this.scalar.close();
}
}