I created a service to count time, when I click start time starts and only stops until it is clicked the pause button.
If you have the start time is there any way to close the page or turn off the computer to execute the pauseTimer () function?
Can anyone help me? Tried to use hostlistener but no effect :(
html
<dx-data-grid class="tabelaTask"
[dataSource]="data"
height="600"
showBorders="true">
<dxo-paging [pageSize]="3"></dxo-paging>
<dxo-scrolling mode="single"></dxo-scrolling>
<dxi-column [width]="100" dataField="Name" caption="Customer"></dxi-column>
<dxi-column [width]="300" [allowFiltering]="false" [allowSorting]="false" cellTemplate="cellTemplate"></dxi-column>
<div *dxTemplate="let data of 'cellTemplate'">
<div class="btn-group" dropdown style="position: absolute;">
<button id="button-basic" dropdownToggle type="button" class="btn btn-primary dropdown-toggle"
aria-controls="dropdown-basic">
Button dropdown <span class="caret"></span>
</button>
</dx-data-grid>