sathish

sathish

  • NA
  • 263
  • 0

Typescript - to get button id

Mar 15 2023 12:44 PM

Hi,

  I have a button like below

    <button id="btn" (click) = test()>To Test</button>

How to call the id - btn from component to typescript file to work for enable or disable 

 

Thanks

 


Answers (6)