Where I can find a full documentation of opening a popup using javascript?
I have read “Popup events & helper functions”, but I cannot find the way to apply
a) action (like start animation) and b) animation (like fadeInUp)…
Also, what is the second parameter of bricksOpenPopup(popupId, 0, xxx)
Only as an example:
As AJAX is not working to get data from Metabox.io with Bricksbuilder, I built it myself, but now I want to achieve the following:
// Call fetchData function (fetch and fill innerHTML)
fetch_restAPI_data();
// open the prefilled animated popup
let popupId = 1234;
setTimeout(() => {
bricksOpenPopup(popupId, 0, {
popupContextType: "post",
});
}, 100);