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

Readme

Keywords

none

Package Sidebar

Install

npm i grayscale

Weekly Downloads

0

Version

0.0.2

License

none

Last publish

Collaborators

  • tootallnate