The following example demonstrates a simple Swal with a button.
In this example, you could provide more HTML within your HTML component rather than binding the HTML to an [html]
.
You would still need to import the SwalPortalTargets
in your component.
import { SwalPortalTargets } from '@sweetalert2/ngx-sweetalert2';
export class MyComponent {
public constructor(public readonly swal_targets: SwalPortalTargets) { }