# Obtenir l'accès au composant glimmer pour accéder aux éléments du parent

**URL:** https://meta.discourse.org/t/get-glimmer-component-access-to-stuff-from-the-parent/316898
**Category:** Development
**Created:** [Juillet 17, 2024, 8:18 UTC](https://meta.discourse.org/t/get-glimmer-component-access-to-stuff-from-the-parent/316898 "2024-07-17T20:18:02Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [Juillet 18, 2024, 1:45 UTC](https://meta.discourse.org/t/get-glimmer-component-access-to-stuff-from-the-parent/316898/2 "2024-07-18T01:45:56Z")

</div>

🤔 hmmm

peut-être que ce sujet contient quelque chose qui peut aider ?

> [@Insert a glimmer component after first post](https://meta.discourse.org/t/insert-a-glimmer-component-after-first-post/303282):
>
> I’ve got a glimmer component. It’s working. But I need it to go after the first post in a topic. There’s no plugin outlet there. I did figure out how to insert some text in the innerHTML of the \<article\> tag, and that puts that text where I want, but there doesn’t seem to be a way to do that with a component. Am I missing something? I looked at how the adplugin inserts ads between posts, but I couldn’t quite make sense of it. export default { name: "initialize-ad-plugin", initialize(cont…

---

_[View the full topic](https://meta.discourse.org/t/get-glimmer-component-access-to-stuff-from-the-parent/316898)._
