Retain page data on refreshing the page

前端 未结 4 912
猫巷女王i
猫巷女王i 2020-12-18 21:20

I am new to angular. I am using a service which gets a list of objects and displays them on the 1st page. Then based on what object was clicked, I am setting the tab header

4条回答
  •  无人及你
    2020-12-18 22:15

    You can make use of angular local storage

    Angular Local Storage

    Example how to use it:

    Example To Use Local Storage

提交回复
热议问题