If I change the value of a bounded object in my component, angular automatically updates the value on the UI. This update-process takes some milliseconds (depend on the device). Is there an event when the UI-update-process finished?
At the moment I use following code:
// refresh binding
boundedItem = newValue;
// wait 100 milliseconds and the open the browsers print view
setTimeout(() => {
// open browser print view
}, 100);
On slow devices (smartphones) the process could be take more than 100 milliseconds, so the code is not really clean.