I’m working on a project that’s using Aurelia (aurelia 1), one of the things we’re using in our applications are dialogs.
Looking at the documentation Aurelia Dialogs, I see there is a topic about the default resources (
<ux-dialog-header> etc). The docs also explain it’s possible to configure the plugin in such a way these default resources won’t be registered.
The only thing I could not find/figure out is how to use my own custom dialog elements.
Recently someone made a dialog template using f.e.
<foo-dialog>, <foo-dialog-header>. Is it possible to use these templates in combination with the Aurelia DialogService?
I know I can specify the viewModel of the dialog to open. But this is not something that seems to work out of the box
Any help/ideas would be appreciated. If I need to provide more code/info, just let me know.
Thanks in advance!