sidenav close

Kalubeticismo pro asked 6 years ago

To OPEN sidenav the function is:

var sideNavScrollbar = document.querySelector ('. custom-scrollbar'); Ps.initialize (sideNavScrollbar);

What is the function to close sidenav? I need this function to make when closing sidenav to scroll to the body of my page


Bartłomiej Malanowski staff pro premium commented 6 years ago

What exactly do you mean by "close"? Are you trying to hide the side nav or destroy it?


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.6.1
  • Device: PC
  • Browser: chrome
  • OS: Windows10
  • Provided sample code: No
  • Provided link: No
Tags