sideDrawer as component


how to create custom sideDrawer component ? I want to create sideDrawer once and include it in every page like component, I know how to create simple view component but i’m little confused about sideDrawer, can anyone show me examples?


With NativeScript 4.x, you have the flexibility to have side drawer as parent for all your pages which is efficient. May I know why do you prefer re-creating side drawer in each page of app?