Posts by gpaulini • 46 points
2 posts
-
1
votes1
answer55
viewsA: Programmatically edit modal button actions
Whenever a function name is used followed by (), it will be invoked, running what is set in your body. In this case you are not sharing the behavior of the native function location.reload, but…
-
2
votes1
answer103
viewsA: Exit Confirmation Sweetalert 2 - Angular
Navigating through documentation it is possible to find several examples. What you intend to accomplish can be done as follows: Swal.fire({ title: 'Deseja sair?', type: 'question',…