You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/site/docs/en/api.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1000,15 +1000,15 @@ function aiLocateAll(
1000
1000
height:number;
1001
1001
};
1002
1002
center: [number, number];
1003
-
dpr:number; // device pixel ratio
1003
+
dpr?:number; // device pixel ratio
1004
1004
}>
1005
1005
>;
1006
1006
```
1007
1007
1008
1008
- Parameters:
1009
1009
1010
1010
-`locate: string | Object` - A natural language description shared by all target elements, or [prompting with images](#prompting-with-images).
1011
-
-`options?: Object` - Optional, a configuration object. `uiContext` and image prompt options are supported. Single-element optimizations such as `xpath`, cache lookup, and `deepLocate` are not applied to `aiLocateAll()`.
1011
+
-`options?: Object` - Optional, a configuration object. `uiContext` and image prompt options are supported. Single-element optimizations such as `xpath`, cache lookup, and `deepLocate` are not applied to `aiLocateAll()`; passing these options throws an error.
0 commit comments