Skip to content

Internet Explorer 11 Polyfills

Ghislain B edited this page Jan 2, 2022 · 5 revisions

ONLY SUPPORTED WITH VERSION 2.x or lower

To support our favorite browser Internet Explorer 11 (*sic), you have to add a few Polyfills to make it happy and working. See below for the full steps that you need to do in order to support IE11

Installation Steps

  1. open and modify the file located at src/polyfills.ts, uncomment all the IE9, IE10 and IE11 polyfills like so
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/function';
import 'core-js/es6/parse-int';
import 'core-js/es6/parse-float';
import 'core-js/es6/number';
import 'core-js/es6/math';
import 'core-js/es6/string';
import 'core-js/es6/date';
import 'core-js/es6/array';
import 'core-js/es6/regexp';
import 'core-js/es6/map';
import 'core-js/es6/weak-map';
import 'core-js/es6/set';
  1. Add a couple more Polyfills
/** IE11 was throwing console errors without these (cannot find "includes") */
import 'core-js/es7/array';

/** Evergreen browsers require these. **/
import 'core-js/es6/reflect';
import 'core-js/es7/reflect';

/** Support Custom Event */
import 'custom-event-polyfill'; // npm install custom-event-polyfill
  1. The last line of previous step adds the custom-event-polyfill, and you need to install it with NPM (see the commented section)
npm install custom-event-polyfill # OR yarn add custom-event-polyfill
  1. Enjoy Angular-Slickgrid with the super slow IE11

Contents

Clone this wiki locally