chore: add browserDetection utility to @lion/core Use it to fix test involving checking the userAgent in LionButton chore: add browserDetection util to aria element sorting
5 lines
107 B
JavaScript
5 lines
107 B
JavaScript
const isIE11 = /Trident/.test(window.navigator.userAgent);
|
|
|
|
export const browserDetection = {
|
|
isIE11,
|
|
};
|