Run function after hidden content has been shown

Is it possible to run a function once hidden content has been shown? For example:

$$('.hiddenContent').on('show', function (e) {


complete: function (elements) {
            console.log('animation completed');

How do you show that hidden content?

I use the following:


Then just call that dialog.alert right after this. It doesn’t require callback as it immediate