This is a wrapper around document.getElementById(). This ensures that we find the element and that it has the right type or it throws an exception. Note that the return type of the function matches the requested type.
Look for an element with this id.
This is the type we are expecting. E.g. HtmlButtonElement
This is a wrapper around document.getElementById(). This ensures that we find the element and that it has the right type or it throws an exception. Note that the return type of the function matches the requested type.