Hi,
I am trying to implement a splash screen and use the document.getElementById(id) javascript to get the element id and then add or remove the necessary css class.
var element = document.getElementById($parameters.canvasId);
element.classList.add('splashAnimationShow');
element.classList.remove ('splashAnimationHide');
I have tryed different codes for the getElement but not being able to get a working one, and the element variable keeps returning null.
Please find an example of the code attached, it´s on the OnInitialize Screen1 action.
Thank you
Sam A.