Functions
These functions can be used anywhere in your custom code, but you need to make sure the MemberSpace widget is loaded and ready.
We suggest that you use them only from within an event handler or once the MemberSpace.onReady flag is set. There is an example code with a promise interface that can help delay executing your code until the widget is ready.
In case of async functions, if an error occurs the promise will get rejected. Please make sure to handle promise rejection in your code!
Last updated