2 ms·
Yes, thanks for pointing out the `event.path` problem. It's been resolved now. Good thoughts on the graceful degradation. I'll put some thought into it. As wel
by jshurmer 7y ago
Yes, thanks for pointing out the `event.path` problem. It's been resolved now.
Good thoughts on the graceful degradation. I'll put some thought into it. As well as the API reference!
Ya, I played around with nesting <scripture-passage>es inside the <scripture-list>, but couldn't find a good way to access the text nodes inside the passage. Prob just needed a bit more work though, I do like it better from a semantic POV.
- chrismorgan 7y agoWhen all you want is the text, disregarding any further markup, just use `.textContent`. Otherwise, look through `childNodes` for any with nodeType 3 (Node.TEXT_NODE).