MCPcopy Create free account
hub / github.com/ionic-team/ionic-framework / reset

Method reset

core/src/global/config.ts:8–10  ·  view source on GitHub ↗
(configObj: IonicConfig)

Source from the content-addressed store, hash-verified

6 private m = new Map<keyof IonicConfig, any>();
7
8 reset(configObj: IonicConfig) {
9 this.m = new Map<keyof IonicConfig, any>(Object.entries(configObj) as any);
10 }
11
12 get(key: keyof IonicConfig, fallback?: any): any {
13 const value = this.m.get(key);

Callers 4

resetFormMethod · 0.45
initializeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected