SP.ChangeView.viewId property (sp.js)

Gets a value that identifies the changed view.

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

var value = SP.ChangeView.get_viewId ()

Return value

Type: SP.Guid