@uifabric/utilities
Version:
Fluent UI React utilities for building components.
12 lines • 472 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
var getWindow_1 = require("./dom/getWindow");
exports.isIE11 = function () {
var _a, _b;
var win = getWindow_1.getWindow();
if (!((_b = (_a = win) === null || _a === void 0 ? void 0 : _a.navigator) === null || _b === void 0 ? void 0 : _b.userAgent)) {
return false;
}
return win.navigator.userAgent.indexOf('rv:11.0') > -1;
};
//# sourceMappingURL=ie11Detector.js.map
;