File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ <h6>JS Example</h6>
8787 // Removes all local storage
8888 localStorageService.clearAll();
8989 // You can also play with cookies the same way
90- localStorageService.cookie.add ('localStorageKey','I am a cookie value now');
90+ localStorageService.cookie.set ('localStorageKey','I am a cookie value now');
9191}</ pre >
9292
9393 < h3 > API Access</ h3 >
@@ -109,7 +109,7 @@ <h3>API Access</h3>
109109 < td > Boolean for success</ td >
110110 </ tr >
111111 < tr >
112- < td > < code > add </ code > </ td >
112+ < td > < code > set </ code > </ td >
113113 < td > < small > key, value</ small > </ td >
114114 < td > Adds a key-value pair to the browser local storage</ td >
115115 < td > Boolean for success</ td >
@@ -134,7 +134,7 @@ <h3>API Access</h3>
134134 </ tr >
135135 < tr >
136136 < td > < code > cookie</ code > </ td >
137- < td > < small > add | get | remove | clearAll</ small > </ td >
137+ < td > < small > set | get | remove | clearAll</ small > </ td >
138138 < td > Each function within cookie uses the same arguments as the coresponding local storage functions</ td >
139139 < td > n/a</ td >
140140 </ tr >
You can’t perform that action at this time.
0 commit comments