mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
18 lines
411 B
TypeScript
18 lines
411 B
TypeScript
|
import { Component } from "@angular/core";
|
||
|
import { ScalarService } from "../../shared/scalar.service";
|
||
|
|
||
|
@Component({
|
||
|
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();
|
||
|
}
|
||
|
}
|