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.
Unfortunately, activation email could not send to your email. Please try again.

Can you catch the slide event of the navigation drawer?

Thread ID:

Created:

Updated:

Platform:

Replies:

132709 Sep 16,2017 04:27 PM Sep 18,2017 07:54 AM JavaScript 2
loading
Tags: ejmNavigationDrawer
dan
Asked On September 16, 2017 04:34 PM

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

dan
Replied On September 16, 2017 06:58 PM

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 07:54 AM

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: 
 
[script] 
  $("#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. 
 
Regards, 
 
Selvamani S. 


CONFIRMATION

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.

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.

;