Topic: How I can implement jquery option of sideNav on react??

JoseDR120 free asked 4 years ago


How I can implement this option on react?? Is there a native option on react to use??

$(document).ready(function() { // SideNav Default Options $('.button-collapse').sideNav({ edge: 'left', // Choose the horizontal origin closeOnClick: false, // Closes side-nav on clicks, useful for Angular/Meteor breakpoint: 1440, // Breakpoint for button collapse menuWidth: 240, // Width for sidenav timeDurationOpen: 300, // Time duration open menu timeDurationClose: 200, // Time duration open menu timeDurationOverlayOpen: 50, // Time duration open overlay timeDurationOverlayClose: 200, // Time duration close overlay easingOpen: 'easeOutQuad', // Open animation easingClose: 'easeOutCubic', // Close animation showOverlay: true, // Display overflay showCloseButton: false // Append close button into siednav });});

Piotr Glejzer staff commented 4 years ago

Hello,

do you know how React library is workinng? We have a API section in the siednav docs.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.25.4
  • Device: Laptop
  • Browser: Firefox
  • OS: Manjaro Linux
  • Provided sample code: No
  • Provided link: No
Tags