Issue
I need to detect if browser is IE or Edge with Angular (TypeScript). Is it possible? If so, how?
Solution
I have used this before and it worked well.
const isIEOrEdge = /msie\s|trident\/|edge\//i.test(window.navigator.userAgent)
Answered By - argoo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.