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.
    Fires on the host component's click DOM event.
    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 reads a property from a trigger handler's event argument (e.g.
    Input that produces the source <img> element of a component, for use as the image slot of WriteToClipboardAction.
    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 MouseEvent ? ClickTrigger, 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.
    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.
    Invokes the browser's native share sheet via navigator.share when the bound trigger fires.
    Reads the current value of a server-side Signal at the moment a trigger fires.
    Represents a 2D pixel size with a width and a height.
    Fires when the host component's root element changes size, as reported by the browser's ResizeObserver API.
    The resize-event properties exposed as static Action.Input sources.
    Fires once, on the client, after the given delay has elapsed.
    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.