I wanted to know if there is a way to make an angular component open up in a sweet alert box, for example
Swal.fire(
{
HTML: '<app-exampleselector></app-exampleselector>',
})
what I intended was to use the component selector instead of writing code inside the function, which in turn is not an option cause I intend to use a lot of functions including database service functions as well which makes it quite a bulky code. is there a way to do this? or should I settle on opening the component on a new tab?