final defasInstanceOf[T0]: T0

defbuilder(info: NodeSeq): NodeSeq

This snippet method renders a menu representing your SiteMap contents. The
menu is rendered as a set of nested unordered lists (<ul />). By
default, it only renders nested child menus for menus that match the current request path.
You can add the "expandAll" attribute to the snippet tag to force full expansion of
all child menus. Additionally, you can use the following attribute prefixes to further customize
the generated list and list item elements:

top - Adds the specified attribute to the top-level <ul> element that makes up the menu

ul - Adds the specified attribute to each <ul> element (top-level and nested children) that makes up the menu

li - Adds the specified attribute to each <li> element for the menu

li_item - Adds the specified attribute to the current page’s menu item

outer_tag - the tag for the outer XML element (ul by default)

inner_tag - the tag for the inner XML element (li by default)

li_path - Adds the specified attribute to the current page’s breadcrumb path. The
breadcrumb path is the set of menu items leading to this one.

linkToSelf - False by default, but available as 'true' to generate link to the current page

level - Controls the level of menus that will be output. "0" is the top-level menu, "1" is children of
the current menu item, and so on. Child menus will be expanded unless the "expand" attribute is set to

false

.

expand - Controls whether or not to expand child menus. Defaults to

true

.

If you are using designer friendly invocation, you can access the namespaced attributes:
<div class="lift:Menu?li_item:class=foo+bar">menu</div>

For a simple, default menu, simply add

<lift:Menu.builder />

To your template. You can render the entire sitemap with

<lift:Menu.builder expandAll="true" />

Customizing the elements is handled through the prefixed attributes described above.
For instance, you could make the current page menu item red:

<lift:Menu.builder li_item:style="color: red;" />

true
If you are using designer friendly invocation, you can access the namespaced attributes:
<div class="lift:Menu?li_item:class=foo+bar">menu</div>
For a simple, default menu, simply add

<lift:Menu.builder />

To your template. You can render the entire sitemap with

<lift:Menu.builder expandAll="true" />

Customizing the elements is handled through the prefixed attributes described above.
For instance, you could make the current page menu item red:

<lift:Menu.builder li_item:style="color: red;" />

false

expand - Controls whether or not to expand child menus. Defaults to

true

.

If you are using designer friendly invocation, you can access the namespaced attributes:
<div class="lift:Menu?li_item:class=foo+bar">menu</div>

For a simple, default menu, simply add

<lift:Menu.builder />

To your template. You can render the entire sitemap with

<lift:Menu.builder expandAll="true" />

Customizing the elements is handled through the prefixed attributes described above.
For instance, you could make the current page menu item red:

<lift:Menu.builder li_item:style="color: red;" />

true
If you are using designer friendly invocation, you can access the namespaced attributes:
<div class="lift:Menu?li_item:class=foo+bar">menu</div>
For a simple, default menu, simply add

<lift:Menu.builder />

To your template. You can render the entire sitemap with

<lift:Menu.builder expandAll="true" />

Customizing the elements is handled through the prefixed attributes described above.
For instance, you could make the current page menu item red:

By default, menu items bind the href and text of an a element in
the template, and iterates over li elements. You can customize
these settings using the repeatedSelector, linkSelector, and
hrefSelector parameters; for example:
.

Bound menu item

These selectors are CSS selector transform selectors. repeatedSelector
and linkSelector are the left-hand-side, while hrefSelector is the
second part, which indicates what will be replaced by the href text.
For example, the above would roughly yield a transform that looks like:

The menu item is rendered as an anchor tag (&lta />). The text for the link
defaults to the named Menu's Loc.linkText, but you can specify your own link text
by providing contents to the tag:

<lift:Menu.item name="b">This is a link</lift:Menu.item>

Additionally you can customize
the tag using attributes prefixed with "a":

<lift:Menu.item name="b" a:style="color: red;" />

The param attribute may be used with Menu Locs that are
CovertableLoc to parameterize the link

Normally, the Menu item is not shown on pages that match its Menu's Loc. You can
set the "donthide" attribute on the tag to force it to show text only (same text as normal,
but not in an anchor tag)

Alternatively, you can set the "linkToSelf" attribute to "true" to force a link. You
can specify your own link text with the tag's contents. Note that case is significant, so
make sure you specify "linkToSelf" and not "linktoself".