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:01:01 -04:00
|
|
|
selector: "app-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() {
|
2017-12-23 20:47:41 -05:00
|
|
|
console.log("Closing scalar...");
|
2017-05-28 02:53:12 -04:00
|
|
|
this.scalar.close();
|
|
|
|
}
|
|
|
|
}
|