SP.ViewCreationInformation.viewTypeKind property (sp.js)

Gets or sets a value that specifies the type of the new list view.

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

var value = SP.ViewCreationInformation.get_viewTypeKind ()
var value = SP.ViewCreationInformation.set_viewTypeKind ()

Return value

Type: SP.ViewType