Skip to content

Commit

Permalink
Merge pull request NativeScript#1651 from NativeScript/niliev/drawer
Browse files Browse the repository at this point in the history
docs: drawer note improvment
  • Loading branch information
tsonevn authored May 8, 2019
2 parents c79ceda + d167b95 commit 0886c28
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/ui/professional-ui-components/SideDrawer/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@ publish: true

# RadSideDrawer Getting Started
This article will guide you through the process of adding a {% typedoc_link classes:RadSideDrawer %} instance to a page in your NativeScript application and initializing its content.
> By design the `RadSideDrawer` is designed to be placed as a single child to your `Page`.
> By design the `RadSideDrawer` is designed to be placed as a single child to your `Page`. For example:
```XML
<Page>
<!-- RadSideDrawer should be either the absolute root element (instead Page) or a single child of the Page -->
<RadSideDrawer>
<!-- drawer menu and content follows here-->
</RadSideDrawer>
<!-- <StackLayout></StackLayout> NOT Allowed! (can't have other layouts on the same level the drawer)-->
</Page>
```

## Installation
Run the following command to add the plugin to your application:
Expand Down

0 comments on commit 0886c28

Please sign in to comment.