Menu entry methods
Use these methods in your menu templates.
Use these methods in your menu templates.
MENUENTRY.Children ⟼ navigation.MenuReturns a collection of child menu entries, if any, under the given menu entry. Read More »
MENUENTRY.HasChildren ⟼ boolReports whether the given menu entry has child menu entries. Read More »
MENUENTRY.KeyName ⟼ stringReturns the
identifier
property of the given menu entry, falling back to its name
property.
Read More »
MENUENTRY.Menu ⟼ stringReturns the identifier of the menu that contains the given menu entry. Read More »
MENUENTRY.Page ⟼ page.PageReturns the Page object associated with the given menu entry. Read More »
MENUENTRY.URL ⟼ stringReturns the relative permalink of the page associated with the given menu entry, else its
url
property.
Read More »