why do you want a double click in a web application?

On Tuesday, February 12, 2019 at 5:55:03 PM UTC-8, rj wrote:
>
> My table row is configured like below,
>
> <tr *ngFor="let v of mf.data | sortgrid: '-lastheartbeat'; index as i"
> [class.table-success]="venuesRunning[i]" [routerLink]="['/invoices', 
> v.userid]"
> >
> The above code snip works for a single click on the row.
>
> I tried to associate double clink on the above code 
> <tr *ngFor="let v of mf.data | sortgrid: '-lastheartbeat'; index as i"
> [class.table-success]="venuesRunning[i]" [routerLink]="['/invoices', 
> v.userid]"
> (dblclick)="somefunction()">
>
> But now also, only single clink works.
>
> Double click worked when [routerlink] was removed. 
> <tr *ngFor="let v of mf.data | sortgrid: '-lastheartbeat'; index as i"
> [class.table-success]="venuesRunning[i]"
> (dblclick)="somefunction()">
>
> What should i do achieve both single click and double clink functionality 
> in Angular7 ?
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to