fix(angular): routerLink updates href

This commit is contained in:
Manu Mtz.-Almeida
2018-12-05 21:18:03 +01:00
committed by Manu MA
parent 49d8e16f2b
commit c8d9685bc9
2 changed files with 14 additions and 18 deletions

View File

@@ -153,7 +153,7 @@ export class Item implements ComponentInterface {
<TagType
{...attrs}
class="item-native"
onClick={ev => openURL(win, href, ev, routerDirection)}
onClick={(ev: Event) => openURL(win, href, ev, routerDirection)}
>
<slot name="start"></slot>
<div class="item-inner">