Skip to content

herra/anchor-origin-polyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HTMLAnchorElement.origin Polyfill

This is a polyfill library for HTMLAnchorElement.origin.

Features

  • Detect if browsers have support for HTMLAnchorElement.origin and add it
  • Compatible with IE8 and above

Installation

$ npm install anchor-origin-polyfill --save

Babel and ES2015+:

import 'anchor-origin-polyfill';

For ES5:

require('anchor-origin-polyfill');

Or copy the index.js file to your project, and add a script tag in your html:

<script src="index.js"></script>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published