📄️ initialize
Create an object from Predis.ai SDK.
📄️ on
To attach a callback for different states of the window.Predis object.
📄️ createPost
To open the Predis.ai post creation flow.
📄️ onPostPublish
Callback to receive the data published from the post. This callback is available in the createPost method and is triggered when the user clicks the "Publish" button.