lue-bird/elm-state-interface/2.0.2

NOTE: the latest version is 2.0.4

Web.Clipboard

Helpers for clipboard interactions as part of an Interface

request : Interface String

An Interface for reading the textual contents of the system clipboard.

Note: uses navigator.clipboard.readText

replaceBy : String -> Interface future_

An Interface for setting the textual contents of the system clipboard.

Note: uses navigator.clipboard.writeText