2017-05-28 02:53:12 -04:00
|
|
|
import { Component } from "@angular/core";
|
2017-12-24 04:02:57 -05:00
|
|
|
import { ScalarClientApiService } from "../../shared/services/scalar/scalar-client-api.service";
|
2017-05-28 02:53:12 -04:00
|
|
|
|
|
|
|
@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"],
|
2017-05-28 02:53:12 -04:00
|
|
|
})
|
|
|
|
export class ScalarCloseComponent {
|
2021-09-01 19:01:01 -04:00
|
|
|
constructor(private scalar: ScalarClientApiService) {}
|
2017-05-28 02:53:12 -04:00
|
|
|
|
|
|
|
public closeScalar() {
|
2021-11-30 22:06:59 -05:00
|
|
|
console.log("Closing Dimension...");
|
2017-05-28 02:53:12 -04:00
|
|
|
this.scalar.close();
|
|
|
|
}
|
|
|
|
}
|