Uses of Annotation Interface
com.vaadin.flow.js.JsDefinition
Packages that use JsDefinition
Package
Description
Server-side access to the browser's clipboard ? both writing (copy) and
reading (paste).
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.base.devserver.hotswap
Classes in com.vaadin.base.devserver.hotswap with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceWhat a hotswap asks of the browser of a UI with push, as a JavaScript definition forPage.executeJs(Class). -
Uses of JsDefinition in com.vaadin.flow.component
Classes in com.vaadin.flow.component with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceThe click count filters ofClickNotifier, as JavaScript snippets forJsSnippets.of(Class), so that the browser does not compile them from a string.static interfaceThe client-side operations behindFocusable, as a JavaScript definition forElement.executeJs(Class).static interfaceThe filter of the keydown listener of a keyboard shortcut, as a JavaScript definition forJsSnippets.of(Class).static interfaceThe keydown delegate of a keyboard shortcut, 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.clipboard
Classes in com.vaadin.flow.component.clipboard with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceHow pastes are handled in the browser, as snippets forJsSnippets.of(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 chunk of a component is loaded, as a JavaScript definition forJsSnippets.of(Class), so that loading it compiles nothing in the browser.static interfaceHow the title of the page is set, as a JavaScript definition forPage.executeJs(Class).interfaceWhat web push asks of the browser, 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 runs to open a URL, 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 a download is started, as a snippet forJsSnippets.of(Class).static interfaceHow a URL is opened in a new tab, as a snippet forJsSnippets.of(Class).static interfaceHow the clipboard is read, as a snippet forJsSnippets.of(Class).static interfaceHow fullscreen is requested, as snippets forJsSnippets.of(Class).static interfaceHow the share sheet is opened, as a snippet forJsSnippets.of(Class).static interfaceHow the mirrored value reaches the element, as a JavaScript definition forElement.executeJs(Class).interfaceThe JavaScript of the built-in trigger inputs, as snippets forJsSnippets.of(Class): whatAction.Input.toJs(Trigger)returns.interfaceThe JavaScript that the built-in triggers and actions share, as snippets forJsSnippets.of(Class): the actions that report to the server through a return channel or write an element property, and the installers that hook an action up to its trigger in the browser.static interfaceHow the clipboard is written, as a snippet forJsSnippets.of(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 interfaceJavaScript that Flow runs on an element, 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.dom.impl
Classes in com.vaadin.flow.dom.impl with annotations of type JsDefinitionModifier and TypeInterfaceDescriptionstatic interfaceAsks the client to find an existing child element for a server-side element, as a JavaScript definition forPage.executeJs(Class).static interfaceRuns and disposes of an initializer on the client, as a JavaScript definition. -
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).