Is it possible to call a method from outside the component to make the component reuseable?
Right now I add my button to open the modal in a template slot:
<
Sure, accept a property to the modal component:
props: ['open']
Then pass it in:
...
Then: