【发布时间】:2017-04-30 06:05:56
【问题描述】:
按下菜单中的按钮时如何关闭打开的 FAB 菜单?
这是我的按钮。
<ion-fab bottom center >
<button ion-fab><b>Hello</b></button>
<ion-fab-list side="top">
<button ion-fab (click)="refresh()"><ion-icon name="refresh"></ion-icon></button>
我必须添加什么到refresh 才能使整个 FAB 关闭?
我可以以某种方式从代码中引用 html 对象吗?类似于 iOS 处理其出口的方式?
【问题讨论】:
标签: angular ionic2 floating-action-button