SideDrawer在NativeScript中不能使用嗎?如果是這樣,我可以離開它並尋找另一個解決方案。NativeScript SideDrawer一團糟?
我正在測試NativeScript以查看它是否適合我的項目。做這個教程http://docs.nativescript.org/angular/tutorial/ng-chapter-1它感覺真的很有希望。
但後來我試圖添加一個sideDrawer,一切都變得非常混亂。好像有很多關於如何使用SideDrawer不同版本和標籤是不同的:RadSideDrawer,SideDrawer等
我測試過這些(及其他): https://www.nativescript.org/blog/using-cross-platform-native-sidedrawer-component-in-nativescript
http://www.techumber.com/navigation-drawer-side-drawer-for-nativescript/
我所做的所有嘗試都導致在啓動時出現分段錯誤時出現不同類型的錯誤,或者在無法在RadSideDrawer上調用openDrawer(或任何它應該調用的)時出現空指針異常。
我只是想在我的應用程序中有一個sidedrawer ...不知道它可能如此複雜。
我發現使用了使用sideDrawer的Angular2的示例應用程序。將測試。 https://github.com/telerik/nativescript-ui-samples-angular – user1716970