Hi, how do I access the output from client-side javascript?
Below is an example client-side function. I’ve linked it to a button so when the button is clicked it runs the function (I see in my developer console that the console.log is printing).
How do I use the return value helloooo elsewhere in my app? Unlike with server-side plugins, I don’t see an option to “use the output from Step 1” in my workflow.
For context, I’m writing a client-side plugin to interact with Firebase.
I think for what you’re looking for, you’ll need to create a element in the plugin editor, and create an action within it that publishes the value you what to the state of the element.
Thanks again Yeah that’s what it looks like to me too. So nobody else has written a client-side plugin that makes changes to the database? That’s strange isn’t it?
I’m not sure. I could see how they don’t want to expose write controls to users databases though. I believe using “App type” is the best way to read the database though.
If you’d like, I can take you through the steps personally during a coaching session.
Learn more
Need to have your database located in your region! Tired of struggling with Bubble or API’s? Need a little functionality that’s not available yet thru current market plugins?
Are you ready to step-it-up or speed it along? Need some custom code or a plugin built? Contact me today to learn how to book a 1-on-1 session, get your plugin built, or yet freelance building support!
This is incredible! And I may be interested in a coaching session. I started this journey Jan 2021 and somehow I ended up in the plugin editor. I’m guessing there’s a natural procession to it when you keep pushing your limits. Thank you diamond hands, I hodl too!