How to add Add listener function in DnD Cloud variable
Use the variables. See this
Thanks @muneer for the response but how can i check an undefined variable?
Can you explain more?
A listener is used for a previously defined variable.
ok So i have a cloud variable in place of the firebasedb in DnD. I wanted to add an add listener in that
Define you variable as
cloud and then use the
initialize or change block.
This is referring to a node in my Firebase DB
Yes but that variable initializes based upon what i type for group name in text input
If it is a
cloud variable then it is tied with the Firebase DB key not based on what you type in your app. Once your app saves any value under this key or any subsequent keys then the
initializes or changes event is fired.