JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 847
  • Score
    100M100P100Q99590F

a plugin that adds visual hilights to image maps

Package Exports

  • maphilight

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (maphilight) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Maphilight

CDNJS

Maphilight is a jQuery plugin that adds visual hilights to image maps.

It provides a single jQuery function: $('.foo').maphilight()

In IE VML is used. In other browsers canvas is used. Maphilight has been tested in Firefox, IE, Safari, Chrome, and Opera.

Documentation is included in the docs directory, or can be found at https://davidlynch.org/projects/maphilight/docs/

Development

If you want to make changes to Maphilight, check out the repository and then do:

> npm install

Before submitting a pull request, make sure you've run

> grunt lint

and fixed any errors it reports.

To regenerate the minified version, you can run

> grunt