Git Product home page Git Product logo

iecap's Introduction

IE cap

JavaScript library to detect the version of Internet Explorer and display a warning screen.

Demo

Example is located here.

Usage

Install via bower:

$ bower install iecap --save

or via npm:

$ npm install iecap --save

or download the iecap.min.js file into your repo.

Then, include script file and initialize the library:

iecap.getVersion();

Methods

You can use the following methods:

  • getVersion — Return the current version of IE browser;
  • displayVersion(availability) — Display the IE version on body container and return the IE version;
  • showScreen(language, availability) — Show warning screen if the IE version is outdated.

Options

The some methods use the following params:

  • language — The language for the template (en, ru). Defaults to en;
  • availability — The IE version from which the warning screen is displayed. Defaults to 9;

Release History

  • 1.2.0 — Added npm support.
  • 1.1.1 — Fixed bugs.
  • 1.1.0 — Added demo and defaults styles.
  • 1.0.1 — Fixed bugs.
  • 1.0.0 — Added bower support.

License

MIT © Ilya Fedotov

iecap's People

Contributors

helloilya avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.