APIs

Show:

Component for sitemap render from the object with links.

Methods

actions.menuBack

()

Back in menu.

didInsertElement

()

Called when the element of the view has been inserted into the DOM or after the view was re-rendered. More info.

didInsertElement

()

Called when the element of the view has been inserted into the DOM or after the view was re-rendered. More info.

mouseEnter

() private

Component mouseEnter handler.

mouseEnter

() private

Component mouseEnter handler.

Properties

classNameBindings

String[]

Components class names bindings.

Default: ['isDropDown:item', 'isDropDown:ui', 'isDropDown:dropdown', 'isDropDown:link']

isDropDown

Boolean

Flag: indicates whether item is dropdown.

Default: false

nodeIsOpen

Boolean

Stores node state.

Default: false

parent

String

Component's parent menu caption.

Default: t('components.flexberry-sitemap-guideline.main-menu-caption')

sitemap

Object

Object with links description.

Example:

{
                      nodes: [
                        {
                          link: 'index',
                          caption: 'Home',
                          title: 'Go to homepage!',
                        },
                        {
                          caption: 'Superheroes',
                          children: [
                            {
                              link: 'superman',
                              caption: 'Superman',
                            },
                            {
                              link: 'ironman',
                              caption: 'Ironman',
                            },
                          ],
                        },
                      ],
                    }