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

18 lines
411 B
TypeScript
Raw Normal View History

import { Component } from "@angular/core";
import { ScalarService } from "../../shared/scalar.service";
@Component({
2017-08-27 01:26:00 -04:00
selector: "my-scalar-close",
templateUrl: "./scalar-close.component.html",
styleUrls: ["./scalar-close.component.scss"],
})
export class ScalarCloseComponent {
constructor(private scalar: ScalarService) {
}
public closeScalar() {
this.scalar.close();
}
}