Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
igregisterscript is not defined

I'm trying to follow a simple example on your web site but I'm getting the error 'igregisterscript is not defined'. What am I doing wrong?

js file:

igRegisterScript("WebGridIsCurrentCellTemplate", (ctx) => {

    var html = window.igTemplating.html;

    return html`<div>AAA</div>`;

}, false);