Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ getItem
Method
getItem
adev/shared-docs/providers/local-storage.ts:40–46 ·
view source on GitHub ↗
(key: string)
Source
from the content-addressed store, hash-verified
38
}
39
40
getItem(key: string): string | null {
41
try {
42
return
localStorage.getItem(key);
43
} catch {
44
return
null;
45
}
46
}
47
48
key(index: number): string | null {
49
try {
Callers
9
getThemeFromLocalStorageValue
Method · 0.45
_installGlobalSiteTag
Method · 0.45
getStoredCountOfWebcontainerInstances
Method · 0.45
cookie-popup.component.spec.ts
File · 0.45
constructor
Method · 0.45
TopLevelBannerComponent
Class · 0.45
loadHistory
Method · 0.45
search-history.service.spec.ts
File · 0.45
getLsItems
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected