Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Paste and Drop images into web apps
CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
LICENSE
README.md
drop.coffee.md
main.coffee.md
paste.coffee.md
pixie.cson

README.md

Jquery::ImageReader

Helpful jQuery plugins for dropping and pasting image data.

Usage

$("html").pasteImageReader ({name, dataURL, file, event}) ->
  $("body").css
    backgroundImage: "url(#{dataURL})"

$("html").dropImageReader ({name, dataURL, file, event}) ->
  $("body").css
    backgroundImage: "url(#{dataURL})"

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.