Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions programming/javascript/api-reference/cameraview.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ cameraView.setVideoFit("cover");
Retrieves the current value of the `object-fit` CSS property from the `HTMLVideoElement` used by this `CameraView` instance.

```typescript
getVideoFit(): string;
getVideoFit(): 'contain' | 'cover' | 'fill';
```

**Parameters**
Expand All @@ -387,7 +387,7 @@ None.

**Return value**

The current value of the `object-fit` property applied to the video element. At present, the value is limited to "cover" and "contain". Check out more on [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit).
The current value of the `object-fit` property applied to the video element. Check out more on [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit).

**Code Snippet**

Expand Down