It works just fine. However, now I want to access it with JavaScript to manipulate it, but when I try to get the element based on the idvic-button, the console just returns null.
It’s probably running your selector before it’s rendered the template.
You need to do this ‘in framework’.
The best approach would be to turn this into an Ember Component, then use a hook like didInsertElement() to capture the point at which it’s available to modify.
Remember this is a web app not a web page. Elements are dynamic not static. The plugin outlet is itself a Component so is not rendered immediately.
When I do this, there is a repeated null output to the console. I’m a complete newbie so I just tried to search around on meta for people doing similar things, so this is probably not the right track.