Skip to content

elm-electron/clipboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron.Clipboard

Interop for electron's clipboard module

Documentation

readText : () -> Task x String

Reads the content of the clipboard as "text/plain" electron docs

writeText : String -> Task x ()

Write a string to the clipboard as "text/plain" electron docs

readHtml : () -> Task x String

Read the contents of the clipboard as "text/html" electron docs

writeHtml : String -> Task x ()

Write a string to the clipboard as "text/html" electron docs

clear : () -> Task x ()

Remove the contents of the clipboard electron docs

availableFormats : () -> Task x (List String)

Retrieve a list of string MIME types that the clipboard supports electron docs

Contributing

Any suggestions accepted! Submit issues, PRs, send an email or get in touch on twitter at @luke_dot_js or on the elmlang Slack at @luke. I'll be working on even more electron interop coming up so if you have ideas for that process as a whole feel free to get in touch with those as well. Thanks!

About

Interop for electron's clipboard module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors