Uses of Class
com.vaadin.flow.dom.JsFunction
Packages that use JsFunction
Package
Description
Trigger API and its internal wiring.
-
Uses of JsFunction in com.vaadin.flow.component.trigger.internal
Methods in com.vaadin.flow.component.trigger.internal that return JsFunctionModifier and TypeMethodDescriptionprotected abstract JsFunctionBuilds theJsFunctionthat yields this input's value when called.protected abstract JsFunctionBuilds theJsFunctionthat runs this action when the surrounding trigger fires.protected final JsFunctionprotected JsFunctionprotected final JsFunctionFinal by design — subclasses customise the rendered JS throughPromiseAction.toPromiseJs(com.vaadin.flow.component.trigger.internal.Trigger), never by overriding the wiring that subscribes to the promise.protected JsFunctionprotected JsFunctionprotected JsFunctionprotected abstract JsFunctionPromiseAction.toPromiseJs(Trigger trigger) Subclasses return aJsFunctionthat, when invoked with the trigger's event, evaluates to aPromise.protected JsFunctionReadFromClipboardAction.toPromiseJs(Trigger trigger) protected JsFunctionRequestFullscreenAction.toPromiseJs(Trigger trigger) protected JsFunctionWriteToClipboardAction.toPromiseJs(Trigger trigger) Methods in com.vaadin.flow.component.trigger.internal with parameters of type JsFunctionModifier and TypeMethodDescriptionprotected RegistrationDomEventTrigger.install(JsFunction action) protected abstract RegistrationTrigger.install(JsFunction action) Installs the given rendered action as a client-side listener and returns theRegistrationthat detaches it. -
Uses of JsFunction in com.vaadin.flow.dom
Methods in com.vaadin.flow.dom that return JsFunctionModifier and TypeMethodDescriptionstatic JsFunctionCreates a JavaScript function value with the given body and captured parameters.JsFunction.withArguments(String... argumentNames) Returns a copy of this function that declares the given names as positional runtime arguments.