grayscale

0.0.2 • Public • Published

grayscale

Turn a <div> background-image or an <img> to grayscale

Installation

$ component install component/grayscale

API

grayscale(el, [fn])

Turns the "src" of an <img> tag, or the background-image of any other kind of element, to grayscale.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    1
  • 0.0.1
    0

Package Sidebar

Install

npm i grayscale

Weekly Downloads

1

Version

0.0.2

License

none

Last publish

Collaborators

  • tootallnate