11 Apr 20172 minutes to read

This property is used to define the target Id for Navigation Drawer. The drawer opens while you click on the specified target element.

  • cshtml
  • <div class="row">
        <div class="cols-sample-area" style="padding: 0px; position: relative; margin: 0px; min-height: 451px;">
                    <div id="container">
                        <ej-navigation-drawer id="navpane" direction="Left" type="Overlay" position="Fixed" enable-list-view="true" target-id="butdrawer">
                            <e-list-view-settings width="300" />
                                    <li data-ej-text="Home"></li>
                                    <li data-ej-text="Profile"></li>
                                    <li data-ej-text="Photos"></li>
                                    <li data-ej-text="Location"></li>
    <ej-button id="butdrawer" text="Open drawer" />

    The following screenshots illustrates the output.