Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular local storage

localStorage.setItem('dataSource', this.dataSource.length); // setting
console.log(localStorage.getItem('dataSource')); // getting
 
PREVIOUS NEXT
Tagged: #angular #local #storage
ADD COMMENT
Topic
Name
2+1 =