Hello. I am new to WIX and I am trying to create a simple function on a web page that uses the Screen Wake Lock API.
I originally tried adding some code in via the onReady function but it looks like this isn’t supported via wix APIs and thus have turned to the Custom Element option.
Does anyone know if the Custom Element has any limitations or restrictions and if it is possible to access all MDN APIs such as Wake Lock?
I’ve done some reading through the WIX doco & understand the requirements on how to use this, but I just want to double check if there any specific restrictions in accessing any Web APIs or the full DOM.
Just want to know in advance before investing more time building on this platform or if I’m going to keep running into problems when building custom JS.
TIA!