preInit event doesn't fire

preInit event doesn't fire

goncalomarrafagoncalomarrafa Posts: 9Questions: 1Answers: 0

Hi.

I can't seem to get the preInit.dt event to fire (or at least to catch it).

With this code:

$(function() {
    $(document).on('preInit.dt init.dt', function (ev, settings) {
        console.log(ev);
    });
});

I get:

Is there something I'm doing wrong or missing?

Thanks in advance.

Answers

This discussion has been closed.