UNPKG

ng-cw-v12

Version:

Angular UI component library

31 lines (30 loc) 1.46 kB
import { OnDestroy, OnInit } from '@angular/core'; import { LocalService } from './local.service'; import * as i0 from "@angular/core"; export declare class WeatherComponent implements OnInit, OnDestroy { private ls; ncToken: string; ncLng: string | number; ncLat: string | number; ncInterval: number; ncPosition: 'rightBottom' | 'leftBottom' | 'rightTop' | 'leftTop'; ncAnimation: 'default' | 'fade' | 'slide'; set ncShowLocation(value: boolean | string); set ncShowHourly(value: boolean | string); set ncShowDaily(value: boolean | string); set ncShowLife(value: boolean | string); showLocationMode: boolean; showHourlyMode: boolean; showDailyMode: boolean; showLifeMode: boolean; detailShow: boolean; weatherData: any; reloadInterval: any; constructor(ls: LocalService); ngOnInit(): Promise<void>; ngOnDestroy(): void; getWeatherData(): Promise<void>; updateWeatherData(): Promise<void>; static ɵfac: i0.ɵɵFactoryDeclaration<WeatherComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<WeatherComponent, "nc-weather", never, { "ncToken": "ncToken"; "ncLng": "ncLng"; "ncLat": "ncLat"; "ncInterval": "ncInterval"; "ncPosition": "ncPosition"; "ncAnimation": "ncAnimation"; "ncShowLocation": "ncShowLocation"; "ncShowHourly": "ncShowHourly"; "ncShowDaily": "ncShowDaily"; "ncShowLife": "ncShowLife"; }, {}, never, never>; }