Uses of Annotation Interface
com.vaadin.flow.js.JsDefinition
Packages that use JsDefinition
Package
Description
Server-side access to the browser's Screen Orientation API for observing and
locking the device's screen orientation.
Trigger API and its internal wiring.
Server-side access to the browser's Screen Wake Lock API, which keeps the
device screen from dimming or locking — useful for dashboards, kiosks,
presentations, and recipe or workout screens.
-
Uses of JsDefinition in com.vaadin.flow.component
Classes in com.vaadin.flow.component with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceThe client-side operations behindFocusable, as a JavaScript definition forElement.executeJs(Class).static interfaceWhat this UI asks of the page it is shown on, as a JavaScript definition forPage.executeJs(Class). -
Uses of JsDefinition in com.vaadin.flow.component.dnd.internal
Classes in com.vaadin.flow.component.dnd.internal with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceWhat drag and drop asks of its client-side connector, as a JavaScript definition forElement.executeJs(Class). -
Uses of JsDefinition in com.vaadin.flow.component.html
Classes in com.vaadin.flow.component.html with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceThe client-side operation behindIFrame.reload(), as a JavaScript definition forElement.executeJs(Class). -
Uses of JsDefinition in com.vaadin.flow.component.internal
Classes in com.vaadin.flow.component.internal with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceHow the title of the page is set, as a JavaScript definition forPage.executeJs(Class). -
Uses of JsDefinition in com.vaadin.flow.component.page
Classes in com.vaadin.flow.component.page with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceHow the browser is asked about itself again, as a JavaScript definition forPage.executeJs(Class).static interfaceWhat this history asks of the browser, as a JavaScript definition forPage.executeJs(Class).static interfaceWhat this page asks of the browser, as a JavaScript definition forPage.executeJs(Class): the build collects it into the bundle, so none of it needs an expression and all of it works under a content security policy withoutunsafe-eval.static interfaceWhat web storage asks of the browser, as a JavaScript definition forPage.executeJs(Class). -
Uses of JsDefinition in com.vaadin.flow.component.screenorientation
Classes in com.vaadin.flow.component.screenorientation with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceWhat locking the screen orientation asks of its client-side bridge, as a JavaScript definition forElement.executeJs(Class). -
Uses of JsDefinition in com.vaadin.flow.component.trigger.internal
Classes in com.vaadin.flow.component.trigger.internal with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceHow the mirrored value reaches the element, as a JavaScript definition forElement.executeJs(Class). -
Uses of JsDefinition in com.vaadin.flow.component.wakelock
Classes in com.vaadin.flow.component.wakelock with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceWhat a wake lock asks of its client-side bridge, as a JavaScript definition forElement.executeJs(Class). -
Uses of JsDefinition in com.vaadin.flow.component.webcomponent
Classes in com.vaadin.flow.component.webcomponent with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceHow an event of an exported web component is fired, as a JavaScript definition forElement.executeJs(Class).static interfaceHow the attributes a theme asks for reach every exported web component on an embedding page, as a JavaScript definition forPage.executeJs(Class). -
Uses of JsDefinition in com.vaadin.flow.dom
Classes in com.vaadin.flow.dom with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceThe JavaScript behindElement.callJsFunction(String, Object...), as a JavaScript definition forElement.executeJs(Class).static interfaceThe JavaScript behindElement.scrollIntoView(ScrollIntoViewOption...), as a JavaScript definition forElement.executeJs(Class). -
Uses of JsDefinition in com.vaadin.flow.router
Classes in com.vaadin.flow.router with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceWhat this page tells Copilot, as a JavaScript definition forElement.executeJs(Class). -
Uses of JsDefinition in com.vaadin.flow.server.communication
Classes in com.vaadin.flow.server.communication with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceThe push state that the MPR fix-up sends, as a JavaScript definition, so that the build collects it into the bundle and the corrected location is a parameter of the call rather than part of the JavaScript.static interfaceHow a stylesheet is added to the document of an embedding page, as a JavaScript definition forPage.executeJs(Class). -
Uses of JsDefinition in com.vaadin.flow.server.communication.rpc
Classes in com.vaadin.flow.server.communication.rpc with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceHow the outcome of a server method reaches the promise the client is waiting on, as a JavaScript definition forElement.executeJs(Class).