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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i grayscale

    Weekly Downloads

    1

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • tootallnate