Internet Explorer 11 Polyfills - ghiscoding/Angular-Slickgrid GitHub Wiki
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
- open and modify the file located at
src/polyfills.ts
, uncomment all theIE9, 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';
- 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
- 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
- Enjoy Angular-Slickgrid with the super slow IE11