Uses of Interface
com.vaadin.flow.js.JsSnippets
Packages that use JsSnippets
Package
Description
Server-side access to the browser's clipboard — both writing (copy) and
reading (paste).
Trigger API and its internal wiring.
-
Uses of JsSnippets in com.vaadin.flow.component
Subinterfaces of JsSnippets in com.vaadin.flow.componentModifier and TypeInterfaceDescriptionstatic interfaceThe click count filters ofClickNotifier, as JavaScript snippets forof(Class), so that the browser does not compile them from a string.static interfaceThe filter of the keydown listener of a keyboard shortcut, as a JavaScript definition forof(Class). -
Uses of JsSnippets in com.vaadin.flow.component.clipboard
Subinterfaces of JsSnippets in com.vaadin.flow.component.clipboardModifier and TypeInterfaceDescriptionstatic interfaceHow pastes are handled in the browser, as snippets forof(Class). -
Uses of JsSnippets in com.vaadin.flow.component.internal
Subinterfaces of JsSnippets in com.vaadin.flow.component.internalModifier and TypeInterfaceDescriptionstatic interfaceHow the chunk of a component is loaded, as a JavaScript definition forof(Class), so that loading it compiles nothing in the browser. -
Uses of JsSnippets in com.vaadin.flow.component.trigger.internal
Subinterfaces of JsSnippets in com.vaadin.flow.component.trigger.internalModifier and TypeInterfaceDescriptionstatic interfaceHow a download is started, as a snippet forof(Class).static interfaceHow a URL is opened in a new tab, as a snippet forof(Class).static interfaceHow the clipboard is read, as a snippet forof(Class).static interfaceHow fullscreen is requested, as snippets forof(Class).static interfaceHow the share sheet is opened, as a snippet forof(Class).interfaceThe JavaScript of the built-in trigger inputs, as snippets forof(Class): whatAction.Input.toJs(Trigger)returns.interfaceThe JavaScript that the built-in triggers and actions share, as snippets forof(Class): the actions that report to the server through a return channel or write an element property, and the installers that hook an action up to its trigger in the browser.static interfaceHow the clipboard is written, as a snippet forof(Class). -
Uses of JsSnippets in com.vaadin.flow.js
Methods in com.vaadin.flow.js with type parameters of type JsSnippetsModifier and TypeMethodDescriptionstatic <T extends JsSnippets>
TJsDefinitionProxy.createSnippets(Class<T> definitionType) Creates an implementation of the given JavaScript definition whose methods declaresnippets, which answers every call of it with the snippet that the call declares rather than running anything.static <T extends JsSnippets>
TGets an implementation of the given interface, whose methods answer with the snippet they declare.