Sets a name for the frame. An empty string indicates that the frame has no name. An empty string can also be used to delete a previously set name.

<void> FrameBase.setName(<string> value, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
value The new property value.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.