We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4cc88a commit 8f89e37Copy full SHA for 8f89e37
1 file changed
resources/shared/params.mjs
@@ -1,4 +1,4 @@
1
-export const LAYOUT_MODES = Object.freeze(["getBoundingClientRect", "elementFromPoint"]);
+export const LAYOUT_MODES = Object.freeze(["getBoundingClientRect", "getBoundingRectAndElementFromPoint"]);
2
3
export class Params {
4
viewport = {
@@ -29,8 +29,8 @@ export class Params {
29
// "generate": generate a random seed
30
// <integer>: use the provided integer as a seed
31
shuffleSeed = "off";
32
- // Choices: getBoundingClientRect or elementFromPoint
33
- layoutMode = "getBoundingClientRect";
+ // Choices: "getBoundingClientRect" or "getBoundingRectAndElementFromPoint"
+ layoutMode = LAYOUT_MODES[0];
34
// Measure more workload prepare time.
35
measurePrepare = false;
36
0 commit comments