I need to get the first element of an ngfor from the component to get it's offset value.
the only thing I've found so far is using let first = first;
in the template which does not help
I've a reference to my list but I don't know how to use it for that :
@ViewChild('list') list: ElementRef;
How can I do that ?