SHARE
TWEET

Untitled

a guest Jun 16th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let confirmWindowDOM = document.getElementsByClassName('modal')[0];
  2. confirmWindowDOM.style['z-index'] = "2049";
  3.      
  4. (program):75 ./some/path/to/component.component.ts
  5. (103,28): error TS2339: Property 'style' does not exist on type 'Element'.
  6.      
  7. let confirmWindowDOM = document.getElementsByClassName('modal')[0] as HTMLElement;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top