Closed mudlabs closed 6 years ago
ByTagName
should work on custom components; it is generic. However, it is possible that the components tag name is not 'Lottie' but something else...
Hi @NathanaelA, Sorry about the late reply, it is working now. You were right, I was passing Lottie
but it's LottieView
.
Cheers
Does it support custom components?
getElementsByTagName(...)
doesn't seem to work for custom components.I'm also using the nativescript-lottie plugin and was trying to select all Lotties by tag name, but I just get undefined.
Other methods like
ByClassName
work though.Not sure if this is a bug or by design?