Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ setItem
Method
setItem
adev/shared-docs/providers/local-storage.ts:62–66 ·
view source on GitHub ↗
(key: string, value: string)
Source
from the content-addressed store, hash-verified
60
}
61
62
setItem(key: string, value: string): void {
63
try {
64
localStorage.setItem(key, value);
65
} catch {}
66
}
67
}
Callers
9
setThemeInLocalStorage
Method · 0.45
increaseInstancesCounter
Method · 0.45
decreaseInstancesCounterOnPageClose
Method · 0.45
constructor
Method · 0.45
initComponent
Function · 0.45
accept
Method · 0.45
close
Method · 0.45
updateHistory
Method · 0.45
setLsItems
Method · 0.45
Calls
no outgoing calls
Tested by
1
initComponent
Function · 0.36