/
githubmirror
/
tabby
Обзор
Документация
Войти
/
githubmirror
/
tabby
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tabby-core/src/components/windowControls.component.ts
18 строк
577 B
Eugene Pankov
lint
10 апр 2023, 22:21
Не верифицирован
10 апр 2023, 22:21
3b8ca0d
Код
Авторство
О чём код?
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ import { Component } from '@angular/core' import { HostWindowService } from '../api/hostWindow' import { AppService } from '../services/app.service' /** @hidden */ @Component({ selector: 'window-controls', templateUrl: './windowControls.component.pug', styleUrls: ['./windowControls.component.scss'], }) export class WindowControlsComponent { constructor (public hostWindow: HostWindowService, public app: AppService) { } async closeWindow () { this.app.closeWindow() } }