element

val element: ERROR CLASS: Symbol not found for JsAny(source)

The element that is currently fullscreen, if any. To simply check if the browser is in fullscreen mode or not, use Fullscreen.fullscreen.