Last active
September 11, 2019 07:45
-
-
Save Mayankgupta688/3b9c5cd65490de5d8bef0b93953583a7 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
// Accessing DOM element with JavaScript | |
let domReference = document.getElementById("someElement"); | |
// Access DOM element using Angular @ViewChild | |
@ViewChild("someElement") domReference; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment