标签: nativescript
需要触发侧抽屉关闭和打开。我如何使用drawerOpenedEvent和drawerClosedEvent在nativescript中触发它?
答案 0 :(得分:0)
var page = topmost().currentPage; page.getViewById("drawer").toggleDrawerState();