Sha256: fa98bab88a128b1d43fc88d973bfc9ee2845f4c8df62304e4eaf2d7d91b9b6ad

Contents?: true

Size: 382 Bytes

Versions: 2

Compression:

Stored size: 382 Bytes

Contents

//= require vendor/metis_menu/metis_menu

(function() {
  function initMetisMenu() {
    $('.nav-side-menu').metisMenu({
      triggerElement: '.nav-link', // bootstrap 4
      parentTrigger: '.nav-item', // bootstrap 4
      collapseInClass: 'show'
    });
  }

  KisoThemes.hookOnPageLoad( function() {
    KisoThemes.jsLibIsActive('metis') && initMetisMenu.call(this)
  })
})()

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
kiso_themes-1.0.2 app/assets/javascripts/kiso_themes/metis_menu.js
kiso_themes-1.0.2 lib/generators/kiso_themes/templates/rails6/kiso_themes/metis_menu.js