matrix-dimension/web/app/riot/scalar-close/scalar-close.component.ts
2017-12-23 18:47:41 -07:00

19 lines
491 B
TypeScript

import { Component } from "@angular/core";
import { ScalarClientApiService } from "../../shared/services/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 scalar...");
this.scalar.close();
}
}