# How to use Event Aggregator as Transient with Custom Element?

**URL:** <https://discourse.aurelia.io/t/how-to-use-event-aggregator-as-transient-with-custom-element/3181>\
**Category:** Help Requests\
**Created:** [January 22, 2020, 6:30pm UTC](https://discourse.aurelia.io/t/how-to-use-event-aggregator-as-transient-with-custom-element/3181 "2020-01-22T18:30:55Z")\
**Posts on this page:** 4\
**Page:** 3

<div class="post-metadata">

**Author:** ![EisenbergEffect](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/eisenbergeffect/32/2655_2.png) [@EisenbergEffect](https://discourse.aurelia.io/u/EisenbergEffect)\
**Post date:** [February 1, 2020, 5:22pm UTC](https://discourse.aurelia.io/t/how-to-use-event-aggregator-as-transient-with-custom-element/3181/41 "2020-02-01T17:22:59Z")

</div>

@ghiscoding In our Aurelia 2 docs, we have a new section dedicated to examples and scenarios just like this. I think we could take your doc and turn each use case into a page in the examples section of the new docs and it would work quite nicely.

---

<div class="post-metadata">

**Author:** ![EisenbergEffect](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/eisenbergeffect/32/2655_2.png) [@EisenbergEffect](https://discourse.aurelia.io/u/EisenbergEffect)\
**Post date:** [February 1, 2020, 7:18pm UTC](https://discourse.aurelia.io/t/how-to-use-event-aggregator-as-transient-with-custom-element/3181/42 "2020-02-01T19:18:22Z")

</div>

@ghiscoding I’ve created a page for the EventAggregator docs in Aurelia 2. Would you be willing to send a PR with the markdown from your article above, but to this file here: [https://github.com/aurelia/aurelia/blob/master/docs/user-docs/app-basics/cross-component-communication.md](https://github.com/aurelia/aurelia/blob/master/docs/user-docs/app-basics/cross-component-communication.md) I can then do an update pass to fix it up for anything that has changed in au2. I think this would be a great contribution. Our new docs system will also give you credit for the content authoring, since it comes from the git commit data 😄 What do you think?

---

<div class="post-metadata">

**Author:** ![ghiscoding](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/ghiscoding/32/1199_2.png) [@ghiscoding](https://discourse.aurelia.io/u/ghiscoding)\
**Post date:** [February 1, 2020, 11:10pm UTC](https://discourse.aurelia.io/t/how-to-use-event-aggregator-as-transient-with-custom-element/3181/43 "2020-02-01T23:10:09Z")

</div>

Yeah sure, I was going to ask where to send it over and you just replied to that question. For sure, I can upload it, and yeah a review would be great since I’m sure I used incorrect wording in some area. I’ll do a PR in coming days. I guess it is indeed a great to contribute to Au2 🙂

Cheers.

---

<div class="post-metadata">

**Author:** ![ghiscoding](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/ghiscoding/32/1199_2.png) [@ghiscoding](https://discourse.aurelia.io/u/ghiscoding)\
**Post date:** [February 7, 2020, 4:26am UTC](https://discourse.aurelia.io/t/how-to-use-event-aggregator-as-transient-with-custom-element/3181/44 "2020-02-07T04:26:00Z")

</div>

I’ve submitted the [PR #814](https://github.com/aurelia/aurelia/pull/814) of the docs for the `Cross-Component Communication` section.

[Previous page](https://discourse.aurelia.io/t/how-to-use-event-aggregator-as-transient-with-custom-element/3181.md?page=2)
