UNPKG

@larva.io/webcomponents

Version:

Fentrica SmartUnits WebComponents package

14 lines (13 loc) 593 B
import { LarvaConfig } from '../interface'; export declare class Config { private m; reset(configObj: LarvaConfig): void; get(key: keyof LarvaConfig, fallback?: any): any; getBoolean(key: keyof LarvaConfig, fallback?: boolean): boolean; getNumber(key: keyof LarvaConfig, fallback?: number): number; set(key: keyof LarvaConfig, value: any): void; } export declare const config: Config; export declare const configFromSession: (win: Window) => any; export declare const saveConfig: (win: Window, c: any) => void; export declare const configFromURL: (win: Window) => any;