We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Can you catch the slide event of the navigation drawer?

Thread ID:





132709 Sep 16,2017 08:27 PM UTC Sep 18,2017 11:54 AM UTC JavaScript 2
Tags: ejmNavigationDrawer
Asked On September 16, 2017 08:34 PM UTC

When the navigationDrawer slides in and out I want to be able to catch that event and do something.  In some cases I want to prevent the drawer from closing onLostFocus.

Note:  I am using the accordion control inside of the navigation drawer instead of the normal list view so I can't catch the list view mouseUp event.  I need to be able to catch the slide event when I click somewhere on the page besides the drawer

Replied On September 16, 2017 10:58 PM UTC

I am trying to achieve the results in the attached animated gif.  This  would be similar to your javascript demo's page

Attachment: 20170916_185143_baf0669a.7z

Selvamani Sankarappan [Syncfusion]
Replied On September 18, 2017 11:54 AM UTC

Hi Dan, 
Thanks for contacting Syncfusion support. 
Query 1: When the navigationDrawer slides in and out I want to be able to catch that event and do something. 
You can trigger the event while clicking the accordion item using activate event of Accordion component. Also, if you don’t want to close the drawer, you can use isPaneOpen as true. Refer to the following code example: 
  $("#navpane").ejNavigationDrawer({ contentId: "content_container", type: "overlay", direction: "left", enableListView: true, listViewSettings: { width: 300, mouseUp: "headChange" }, position: "normal", isPaneOpen: true }); 
Refer to the following sample: 
Please check with the above sample and still you have any difficulties, kindly get back to us. we will be happy to help you. 
Selvamani S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon