Branchee Block

Component ID

2753955

Component name

Branchee Block

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

438

Component created

Component changed

Component body

Synopsis

This module allows the site builder to choose a menu with some options, and output a block that contains the menu with applicable Branchee Mobile Menu markup.

Branchee is a lightweight mobile navigation plugin with built in transitions. The menu is generated from a basic unordered list.

Install the branchee library to the libraries folder. The following paths are what the module looks for:

  • libraries/branchee/dist/branchee.min.js
  • libraries/branchee/dist/branchee.min.css

If you include the library in your theme, the following can be added to your THEMENAME.info.yml file to override the library paths in the module:


libraries-override:
  branchee_block/branchee:
    js:
      libraries/branchee/dist/branchee.min.js: LOCATION/TO/BRANCHEE/LIBRARY/branchee.min.js
    css:
      component:
        libraries/branchee/dist/branchee.min.css: LOCATION/TO/BRANCHEE/LIBRARY/branchee.min.css

A built in style for the menu can be chosen in the block settings, or a custom class can be provided if you want to customize the styling as per the styling recommendations in the Branchee library.

Dependencies

Branchee Library