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 — a deferred JS expression that yields a value when the surrounding trigger fires.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 JSON-encoded into the JS at build time.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 fullscreen the target component's root element viaElement.requestFullscreen()when the bound trigger fires.Assigns a value to a JavaScript property on a target element when the bound 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.