Gets the frame selected by the user or the frame with the specified identifier.
<void> FrameCollection.getItem(<RequestFrameBaseCallback> callback, [<ErrorCallback> errorCallback], [<number> id])
Parameter | Description |
---|---|
callback | Receives the requested frame or null if there is no frame at the current input position / with the specified identifier. |
error |
Optional. Is called when the operation failed with an error. |
id | Optional. The frame's identifier. |