Navigation.TARGET

A static object of Navigation that alters where the contents of a navigation should be placed relative to the target element element for .navigate().

Properties

TOP

The inner DOM of the target element will be replaced with the contents of href from a Navigation instance.

This is the default behavior when the vv-shell element (top navigation) is navigated.

Setting this parameter on a target element that isn't the vv-shell element has the same effect as a normal top navigation. The target is "ignored".

SELF

The contents of the target element will be navigated.

This is the default behavior when an element that isn't the vv-shell is navigated.

Setting this parameter on a target element that is the vv-shell (top navigation) has the same effect as TOP.

BLANK

Performs the browser-default behavior for opening links in a new window. The target element is ignored.

PARENT

The closest HTMLElement to the target element with a vv-page property present will be navigated. If no parent element with that attribute is found, the vv-shell element (top navigation) will be navigated.

Setting this parameter on a target element that is the vv-shell (top navigation) has the same effect as TOP.


Examples

No examples available.