I\'m trying to access a native element in order to focus on it when another element is clicked (much like the html attribute \"for\" - for cannot be used on elements of th
Initializing the Canvas like below works for TypeScript/Angular solutions.
const canvas = document.getElementById("htmlElemId"); const context = canvas.getContext("2d");