Yext Navigation KG
The Yext Answers Bar Navigation uses the YextHamburger.js
Class and YextAnswersBar.js
and requires the typed.js
Library for the Animation.
The Yext Navigation can be initialised by calling initYextNavigation()
, which takes an object with 3 properties:
- entityId - the KG navigation entityId (string, required)
- container - DOM selector, where the navigation will be injected (string, required)
Example:
new DesignSystem.nav.initYextNavigation({
entityId: "navigation-main",
container: ".yext-navigation-container",
})