app.preloader.showIn is not a function

What i’m doing wrong.

in JS file
$$('.busqueda-boton').on('click', function () {
app.preloader.showIn('.preloader-div', 'lime');
...

In Search Html File
<div class="preloader-div"></div>

But doesn’t work. I got this error
app.preloader.showIn is not a function

make sure you got v5.4.5 or gt

Thanks. I think the function was older.

I have version 6.0.14

preloader.js?37e8:11 Uncaught TypeError: Object(…) is not a function