Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 Ionic 框架(“版本”:“1.0.0-beta.1”)有一个问题,当我修改项目时,我希望能够修改与项目滑动相关的按钮。场景是:在项目上滑动,查看按钮列表 [打开、修改、关闭]。当我单击关闭时,我想仅使用按钮 [重新打开] 来修改项目的选项按钮。可以在控制器中更改选项按钮吗?我已经尝试过,但框架没有重新加载相关按钮。你有什么提示吗?
谢谢
http://forum.ionicframework.com/t/ionic-ion-item-option-buttons-for-swipe-not-reload-the-updated-buttons/2590/5
我已经在离子论坛中对此进行了讨论。并且解决方案来自新版本。
这是新的sintax的例子。
http://codepen.io/anon/pen/nFmuc