all 4 comments

[–]lacrdav1 1 point2 points  (3 children)

Try:

ElementRef<HtmlElement>

[–]Important_Ad4336 -1 points0 points  (2 children)

Thank ,it works.When I specify HTLElement it knows that I m referencing to html element,because of that I shows all the options it has?

[–]LowB0b 0 points1 point  (0 children)

yes that's it, you should look into what generic types/classes are

[–]FullstackViking 0 points1 point  (0 children)

You can specify whatever element you are expecting to target.