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

19 lines
498 B
TypeScript
Raw Normal View History

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