This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
leocavalcante
"Workaround" it to the stuff by yourself:
$.oc.stripeLoadIndicator.show()
$.request('onButtonClick', {
data: {val: props.value},
success: props.onNewResult,
complete: () => $.oc.stripeLoadIndicator.hide(),
})
assistenza33089
You can use "loading" attribute:
$.request('onLoadFLipbook', {
loading: $.oc.stripeLoadIndicator,
success: function (data) {
$('#flipbook').html(data.partial);
const book = document.getElementById('book');
const module = prepareFlipbook(data.aspectWidth, data.aspectHeight);
module.init('book');
}
});
1-3 of 3