lindelwa122 / dom-wizard

JavaScript library that makes DOM manipulation easy and more managable.
MIT License
7 stars 8 forks source link

store.getState #10

Open lindelwa122 opened 9 months ago

lindelwa122 commented 9 months ago

store.getState

store

The store will hold variables that are intended to be accessible throughout the app. Users will be able to retrieve and modify these variables from anywhere within the app.

getState

getState() takes a property name as input and returns the value of that property.

Parameter/Input:

The function returns the value of the key if it exists, and undefined if it doesn't.

rakshithapatel08 commented 9 months ago

Hey @lindelwa122 , I would like to contribute to this feature after giving the PR for delete feature ..

lindelwa122 commented 9 months ago

Hey, @rakshithapatel08, feel free to get started.