I was using RadSideDrawer but now I wanted to try multidrawer.
repo readme file says...
<MultiDrawer>
<StackLayout slot="left">
<Label text="Im in the left drawer" />
</StackLayout>
<Frame /> <!-- main content goes into the default slot -->
</MultiDrawer>
What is the default slot?
my main.ts file ...
Vue.use(MultiDrawer)
new Vue({
store,
render: h => h('frame', [h(App)])
}).$start()
While using RadSideDrawer I was adding menu to a component and adding menu to all other views.
All nativescript marketplace uses render: h => h('frame', [h(HelloWorld)]) accept Playing with Shadows.
How to implement Multiple Frames if I need conditional navigation such as render: h => h("frame", [h(backendService.isLoggedIn() ? routes.home : routes.login)])
- Where should I add
<MultiDrawer>tag? - Where should I add main content?
- Is there any demo project using multidrawer?