matrix-dimension/web/app/riot/scalar-close/scalar-close.component.ts
Travis Ralston 4965b61f2d Re-wire the UI to support the new backend
This still doesn't allow editing, but it supports showing the widgets at least.
2017-12-20 21:28:43 -07:00

18 lines
449 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() {
this.scalar.close();
}
}