Skip to content

Files

Latest commit

renow-luxembourgNicolas AMBROISE
and
Nicolas AMBROISE
Apr 26, 2024
b7429e4 · Apr 26, 2024

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 18, 2021
Sep 15, 2022
Feb 10, 2022
Feb 14, 2022
May 18, 2021
May 18, 2021
Jul 28, 2021
Apr 26, 2024

Language Navigation (v2)

Language Navigation component written in HTL that renders a global language structure navigation.

Features

Use Object

The Language Navigation component uses the com.adobe.cq.wcm.core.components.models.LanguageNavigation Sling model as its Use-object.

Component Policy Configuration Properties

The following configuration properties are used:

  1. ./navigationRoot - the root page of the global language structure.
  2. ./structureDepth - the depth of the global language structure relative to the navigation root.

Edit Dialog Properties

The following properties are written to JCR for the Language Navigation component and are expected to be available as Resource properties:

  1. ./navigationRoot - the root path of the global language structure.
  2. ./structureDepth - the depth of the global language structure relative to the navigation root.
  3. ./id - defines the component HTML ID attribute.

BEM Description

BLOCK cmp-languagenavigation
    ELEMENT cmp-languagenavigation__group
    ELEMENT cmp-languagenavigation__item
        MOD cmp-languagenavigation__item--active
        MOD cmp-languagenavigation__item--countrycode-*
        MOD cmp-languagenavigation__item--langcode-*
        MOD cmp-languagenavigation__item--level-*
    ELEMENT cmp-languagenavigation__item-link
    ELEMENT cmp-languagenavigation__item-title

Information