hide elements using DOM in TypeScript code example Example: hide elements using DOM in TypeScript document.getElementById('123').hidden = true;