# Event to know a \`turbo-stream\` has been rendered

**URL:** <https://discuss.hotwired.dev/t/event-to-know-a-turbo-stream-has-been-rendered/1554>\
**Category:** General\
**Created:** [December 23, 2020, 7:34am UTC](https://discuss.hotwired.dev/t/event-to-know-a-turbo-stream-has-been-rendered/1554 "2020-12-23T07:34:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![virk](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/virk/32/1107_2.png) [@virk](https://discuss.hotwired.dev/u/virk)\
**Post date:** [December 23, 2020, 10:29am UTC](https://discuss.hotwired.dev/t/event-to-know-a-turbo-stream-has-been-rendered/1554/3 "2020-12-23T10:29:55Z")

</div>

I am looking for after. Coz I want to select the DOM nodes from this new stream HTML. 🙂

I believe the `newTemplate` will just be a raw string. What I want is to write `document.querySelector('some-node-from-stream-html')`

---

_[View the full topic](https://discuss.hotwired.dev/t/event-to-know-a-turbo-stream-has-been-rendered/1554)._
