We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue Type:
Version & Environment:
"@angular/cli": "1.6.5", "@angular/core": "^5.2.0", "element-angular": "^0.5.4",
Description: 我在这个元素上绑定routerLink="/index"的时候是无效的,换成(click)="go()"也是无效的,并且在对应的元素上没有看到(click)绑定在元素上。 另外el-for-angular是不是没有 :router这个属性,因为我这样尝试的时候也是无效的。 谢谢。
The text was updated successfully, but these errors were encountered:
没有 :router 属性,因为把整个 router 对象传递太大了不合适。 你可以把 model 分开绑定为 (modelChange)="go($event)" 来拿到当前的点击的子菜单的值。menu-item 本身是没有点击事件的。
:router
(modelChange)="go($event)"
另外集成路由用 router-link 绑定也不错,后续可以在 menu-item 加上这个属性。
router-link
menu-item
Sorry, something went wrong.
#7 ,已经加上了。
No branches or pull requests
Issue Type:
Version & Environment:
"@angular/cli": "1.6.5",
"@angular/core": "^5.2.0",
"element-angular": "^0.5.4",
Description:
我在这个元素上绑定routerLink="/index"的时候是无效的,换成(click)="go()"也是无效的,并且在对应的元素上没有看到(click)绑定在元素上。
另外el-for-angular是不是没有 :router这个属性,因为我这样尝试的时候也是无效的。
谢谢。
The text was updated successfully, but these errors were encountered: