Share via


SP.Navigation object

Represents navigation operations at the site collection level.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Navigation()

Members

The Navigation object has the following members.

Constructor

The Navigation object has the following constructor.

Constructor

Description

Navigation

Initializes a new instance of the SP.Navigation object.

Methods

The Navigation object has the following methods.

Method

Description

getNodeById

Properties

The Navigation object has the following properties.

Property

Description

quickLaunch

Gets a value that collects navigation nodes corresponding to links in the Quick Launch area of the site.

topNavigationBar

Gets a value that collects navigation nodes corresponding to links in the top navigation bar of the site.

useShared

Gets or sets a value that specifies whether the site inherits navigation.