MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / saveConfig

Function saveConfig

core/src/global/config.ts:49–55  ·  view source on GitHub ↗
(win: Window, c: any)

Source from the content-addressed store, hash-verified

47};
48
49export const saveConfig = (win: Window, c: any) => {
50 try {
51 win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));
52 } catch (e) {
53 return;
54 }
55};
56
57export const configFromURL = (win: Window) => {
58 const configObj: any = {};

Callers 1

initializeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected