Package com.vaadin.flow.component.trigger.internal
@NullMarked
package com.vaadin.flow.component.trigger.internal
Trigger API and its internal wiring. Not part of the public API; classes here
may be renamed or removed in any release.
-
ClassDescriptionSomething that runs on the client when a
Triggerfires.Action.Input<T>A value anActionconsumes at fire time.Forwards a value from the trigger's handler scope back to the server and hands it to aSerializableConsumeron the UI thread.Fires on the host component'sclickDOM event and exposes the click coordinates and modifier-key state asAction.Inputs for downstream actions.Textual clipboard contents delivered toReadFromClipboardAction's handler.Fires when the host component receives a DOM event with the given name.LiteralInput<T>Input backed by a server-side literal that is captured into the renderedJsFunctionand Jackson-encoded into a JS value on the client.Base class for actions that run a JS expression yielding a Promise and optionally report the outcome back to the server.Information delivered to theonErrorconsumer after the promise rejects.Reads a JavaScript property from a target component's root element at the moment a trigger fires.Reads the user's clipboard vianavigator.clipboard.read()when the bound trigger fires and delivers the textual contents to the handler on the UI thread.Asks the browser to enter fullscreen when the bound trigger fires.Assigns a value to a JavaScript property on a target element when the bound trigger fires.NamedCallbackActionthat callsseton aValueSignal— the common case of bridging a client-side trigger into server-side signal state.SignalInput<T>Reads the current value of a server-sideSignalat the moment a trigger fires.Something that fires on the client when some condition is met — a DOM event, a signal change, an observer firing, a timer elapsing, an idle timeout, aBroadcastChannelmessage, a media-query match, … — and, when it does, runs one or moreactions.Writes aClipboardItemto the user's clipboard vianavigator.clipboard.write.