Last active
August 23, 2022 09:00
-
-
Save eshrinivasan/48f0a9f210dbfa6d850c285374134169 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Check angular version from browser | |
1. From Browser console: | |
Newer angular version: | |
— | |
>> getAllAngularRootElements()[0].attributes["ng-version"]; | |
Older angular version: | |
— | |
>> angular.version | |
2. From Elements tab of Chrome Dev tools | |
>> look for “ng-version” tag on the “app-root” element. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackoverflow.com/questions/36994564/how-can-one-tell-the-version-of-react-running-at-runtime-in-the-browser
__REACT_DEVTOOLS_GLOBAL_HOOK__.renderers.get(1).version