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.
  • Class
    Description
    Something that runs on the client when a Trigger fires.
    A value an Action consumes at fire time.
    Forwards a value from the trigger's handler scope back to the server and hands it to a SerializableConsumer on the UI thread.
    Calls a JavaScript method on a target element when the bound trigger fires.
    Fires on the host component's click DOM event.
    Textual clipboard contents delivered to ReadFromClipboardAction's handler.
    Fires when the host component receives a DOM event with the given name.
    Fires on the host component's dblclick DOM event.
    Starts a file download in the browser when the bound trigger fires.
    Input that produces the source <img> element of a component, for use as the image slot of WriteToClipboardAction.
    Fires on a DOM keyboard event (keydown, keyup).
    The KeyboardEvent properties exposed as static Action.Input sources.
    Input backed by a server-side literal that is captured into the rendered JsFunction and Jackson-encoded into a JS value on the client.
    Common super class for triggers that fire on a DOM MouseEventClickTrigger, DoubleClickTrigger, and any future mouse-event trigger.
    The MouseEvent properties exposed as static Action.Input sources.
    Opens a URL in a new browser tab or window via window.open(url, "_blank", features) when the bound trigger fires.
    Base class for actions that run a JS expression yielding a Promise and optionally report the outcome back to the server.
    Information delivered to the onError consumer 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 via navigator.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.
    Fires when a specific ordered sequence of keys is pressed on the host's root element — e.g. the konami code or a "hello" Easter egg.
    Assigns a value to an HTML attribute on a target element when the bound trigger fires.
    Assigns a value to a JavaScript property on a target element when the bound trigger fires.
    Named CallbackAction that calls set on a ValueSignal — the common case of bridging a client-side trigger into server-side signal state.
    Fires when a specific key + modifier combination is pressed on the host's root element.
    Reads the current value of a server-side Signal at the moment a trigger fires.
    Fires when the host component's root element changes size, as reported by the browser's ResizeObserver API.
    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, a BroadcastChannel message, a media-query match, … — and, when it does, runs one or more actions.
    Writes a ClipboardItem to the user's clipboard via navigator.clipboard.write.