6
Answers

Typescript - to get button id

sathish

sathish

1y
1.1k
1

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)