|
|
|
|
|
by mst
671 days ago
|
|
It's always worth checking the lit built in directives list for the one you've still missed (or at least it is for me ;). I think in this case the ref() directive - i.e. https://lit.dev/docs/templates/directives/#ref - may be what you want. If it isn't exactly, reading how it's implemented would be my first step towards building something similar that is. |
|