mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
17 lines
495 B
TypeScript
17 lines
495 B
TypeScript
import { Component } from "@angular/core";
|
|
import { ScalarClientApiService } from "../../shared/services/scalar/scalar-client-api.service";
|
|
|
|
@Component({
|
|
selector: "my-scalar-close",
|
|
templateUrl: "./scalar-close.component.html",
|
|
styleUrls: ["./scalar-close.component.scss"],
|
|
})
|
|
export class ScalarCloseComponent {
|
|
constructor(private scalar: ScalarClientApiService) {}
|
|
|
|
public closeScalar() {
|
|
console.log("Closing Dimension...");
|
|
this.scalar.close();
|
|
}
|
|
}
|