Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needs local storage saving #1

Open
Jobin-S opened this issue Mar 19, 2022 · 3 comments
Open

Needs local storage saving #1

Jobin-S opened this issue Mar 19, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@Jobin-S
Copy link

Jobin-S commented Mar 19, 2022

It would be better to save the text on localstorage

@Jobin-S
Copy link
Author

Jobin-S commented Mar 19, 2022

// To store data
localStorage.setItem('Name', 'Rahul');

// To retrieve data
localStorage.getItem('Name');

// To clear a specific item
localStorage.removeItem('Name');

// To clear the whole data stored in localStorage
localStorage.clear();

@AswinAsok
Copy link
Owner

Ya sure bro, I got your point. Currently, the text in the textarea is lost whenever the page is reloaded, but with implementing this we could prevent that. I will try to implement it soon.

@Jobin-S
Copy link
Author

Jobin-S commented Mar 20, 2022 via email

@AswinAsok AswinAsok added the enhancement New feature or request label Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants