SP.WebParts.WebPart.title property (sp.js)
Gets or sets a value that specifies the title of a Web Part.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value =SP.WebParts.WebPart.get_title()
SP.WebParts.WebPart.set_title(value)
Return value
Returns a String instance representing the title of a Web Part.
Remarks
If this property is set to null, the title of the Web Part must instead be reset to its default value if one is specified in the Web Part's definition.