July 2017
Intermediate to advanced
384 pages
8h 23m
English
The ConfirmDialog is a component used to display confirmation windows with multiple actions at the same time. In this case, it will be backed by the confirmation service utilizing obseravables. The service which uses a confirmed method for multiple actions needs to be imported.
A basic example of the ConfirmDialog component with a source button (or dialog generator button) would be written as follows:
<p-confirmDialog></p-confirmDialog> <button type="button" (click)="confirmAccept()" pButton icon="fa-check" label="Confirm"></button> <button type="button" (click)="confirmDelete()" pButton icon="fa-trash" label="Delete"></button>
In the preceding example, the confirm method will confirm an instance for customizing the Dialog ...
Read now
Unlock full access