Uses of Interface
com.vaadin.flow.component.page.PendingJavaScriptResult
Packages that use PendingJavaScriptResult
Package
Description
Server-side access to the browser's Screen Orientation API for observing and
locking the device's screen orientation.
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 PendingJavaScriptResult in com.vaadin.flow.component.internal
Classes in com.vaadin.flow.component.internal that implement PendingJavaScriptResultModifier and TypeClassDescriptionclassA pending JavaScript result that can be sent to the client.Methods in com.vaadin.flow.component.internal that return PendingJavaScriptResultModifier and TypeMethodDescriptionUIInternals.addJavaScriptInvocation(UIInternals.JavaScriptInvocation invocation) Adds a JavaScript invocation to be sent to the client, owned by the root node of the state tree, which is what makes it an invocation of this UI rather than of anything in it.UIInternals.addJavaScriptInvocation(StateNode owner, UIInternals.JavaScriptInvocation invocation) Adds a JavaScript invocation to be sent to the client, owned by the given node, which is what decides when it is sent and what it is discarded with.UIInternals.addJavaScriptInvocation(JsCall call) Adds an invocation of the given call to be sent to the client, owned by the root node of the state tree, which is what makes it an invocation of this UI rather than of anything in it.Sets the title of the page.UIInternals.TitleJs.setTitleAfterNavigation(String title) Sets the title of the page once the client side router has finished navigating, so that the title of the page it navigated away from is not the one that sticks. -
Uses of PendingJavaScriptResult in com.vaadin.flow.component.page
Methods in com.vaadin.flow.component.page that return PendingJavaScriptResultModifier and TypeMethodDescriptionPage.executeJs(String expression, Serializable[] parameters) Deprecated.Asynchronously runs the given JavaScript expression in the browser.Page.PageJs.getHref()The address the browser is at.Reads the value of a key.ExtendedClientDetails.ClientDetailsJs.readDetails()Reads what the browser reports about itself, which is the same set of values the bootstrap collects.Page.PageJs.readDirection()Reads the direction the document is read in. -
Uses of PendingJavaScriptResult in com.vaadin.flow.component.screenorientation
Methods in com.vaadin.flow.component.screenorientation that return PendingJavaScriptResultModifier and TypeMethodDescriptionLocks the screen to the given orientation.ScreenOrientation.ScreenOrientationJs.unlock()Lets the screen follow the device again. -
Uses of PendingJavaScriptResult in com.vaadin.flow.component.wakelock
Methods in com.vaadin.flow.component.wakelock that return PendingJavaScriptResult -
Uses of PendingJavaScriptResult in com.vaadin.flow.dom
Methods in com.vaadin.flow.dom that return PendingJavaScriptResultModifier and TypeMethodDescriptionElement.CallFunctionJs.callFunction(String functionName, Object... arguments) Calls the named function on the element, with the element asthisof a plain name and the property it is read from asthisof a dotted one, which is how a function reached through a property is called in JavaScript.Element.callJsFunction(String functionName, Serializable[] arguments) Deprecated.UseElement.callJsFunction(String, Object...)instead.Element.callJsFunction(String functionName, Object... arguments) Calls the given function on the element with the given arguments.Element.executeJs(String expression, Serializable[] parameters) Deprecated.UseElement.executeJs(String, Object...)instead.Asynchronously runs the given JavaScript expression in the browser in the context of this element. -
Uses of PendingJavaScriptResult in com.vaadin.flow.js
Method parameters in com.vaadin.flow.js with type arguments of type PendingJavaScriptResultModifier and TypeMethodDescriptionstatic <T> TJsDefinitionProxy.create(Class<T> definitionType, SerializableFunction<JsCall, PendingJavaScriptResult> runner) Creates an implementation of the given JavaScript definition, which hands every call of it to the given function and answers with what the function answers, for a method that declares a result.
Page.executeJs(String, Object...)instead.