Skip to content

Commit 485aa80

Browse files
committed
chore: update readme
1 parent 0712e3d commit 485aa80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/mlkit-core/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import { MLKitModule } from '@nativescript/mlkit-core/angular';
4141
<MLKitView
4242
cameraPosition="back"
4343
detectionType="all"
44-
(detection)="onDetection"
44+
(detection)="onDetection($event)"
4545
></MLKitView>
4646
```
4747

@@ -54,12 +54,12 @@ import MLKit from '@nativescript/mlkit-core/vue'
5454
Vue.use(MLKit)
5555
```
5656

57-
```xml
57+
```html
5858
<MLKitView
5959
cameraPosition="back"
6060
detectionType="all"
6161
@detection="onDetection"
62-
></MLKitView>
62+
/>
6363
```
6464

6565
### Optional modules

0 commit comments

Comments
 (0)