UNPKG

com.phloxui

Version:

PhloxUI Ng2+ Framework

28 lines (27 loc) 1.1 kB
import { OnInit } from '@angular/core'; import { PhloxAppInfo } from '../component/model/PhloxAppInfo'; import { ConnectionManager } from '../service/ConnectionManager.service'; /** * <p style="text-indent: 2em;"> * A <code>ng</code> service providing [[PhloxAppInfo]] object of currently running <code>application</code>. In normal sense, this service may load a * [[PhloxAppInfo]] object from backend to fetch user settings and configurations from the server. * </p> * * @author shiorin, tee4cute */ export declare class PhloxAppInfoService implements OnInit { private connectionManager; protected appInfo: PhloxAppInfo; constructor(connectionManager: ConnectionManager); ngOnInit(): void; protected loadAppInfo(): Promise<PhloxAppInfo>; reload(): Promise<PhloxAppInfo>; /** * <p style="text-indent: 1em;"> * Get [[PhloxAppInfo]] of currently running <code>application</code>. * </p> * * @return A <code>Promise</code> which will be resolved when the [[PhloxAppInfo]] object is ready. */ getAppInfo(): Promise<PhloxAppInfo>; }