zazama/silverstripe-slicknav

Inserts slicknav into the theme

Installs: 166

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

2.0.0 2023-05-16 09:47 UTC

This package is auto-updated.

Last update: 2024-02-16 15:00:29 UTC


README

adds SlickNav to your theme

installation

composer require zazama/silverstripe-slicknav

configuration

Zazama\SlickNavPageControllerExtension:
  #ul containing your navigation
  navigationIdentifier: '#Navigation'
  
  #css breakpoint
  display_at_width: '992px'
  
  #include/don't include jQuery (true default)
  include_jquery: true
  
  #other options found @ slicknav.io inserted into the options object
  options:
    label: 'Menu'
    prependTo: 'body'