# Compartilhe suas decorações de Halloween do Discourse!

**URL:** <https://meta.discourse.org/t/share-your-discourse-halloween-decorations/167327>\
**Category:** Community Building\
**Created:** [15 Outubro , 2020 23:24 UTC](https://meta.discourse.org/t/share-your-discourse-halloween-decorations/167327 "2020-10-15T23:24:12Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![keegan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keegan/32/383395_2.png) [@keegan](https://meta.discourse.org/u/keegan)\
**Post date:** [12 Outubro , 2022 15:53 UTC](https://meta.discourse.org/t/share-your-discourse-halloween-decorations/167327/25 "2022-10-12T15:53:24Z")

</div>

@Canapin  
Em vez de `Discourse.appEvents.on`, tente isto:

```javascript
const appEvents = api.container.lookup("service:app-events");
appEvents.on('composer:opened', () => {

```

---

_[View the full topic](https://meta.discourse.org/t/share-your-discourse-halloween-decorations/167327)._
