Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo-mod-jslibs-dist.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'popperjs/package/lib/utils/computeAutoPlacement.d.ts')
-rw-r--r--popperjs/package/lib/utils/computeAutoPlacement.d.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/popperjs/package/lib/utils/computeAutoPlacement.d.ts b/popperjs/package/lib/utils/computeAutoPlacement.d.ts
new file mode 100644
index 0000000..ba1f7ae
--- /dev/null
+++ b/popperjs/package/lib/utils/computeAutoPlacement.d.ts
@@ -0,0 +1,12 @@
+import type { State, Padding } from "../types";
+import type { Placement, ComputedPlacement, Boundary, RootBoundary } from "../enums";
+declare type Options = {
+ placement: Placement;
+ padding: Padding;
+ boundary: Boundary;
+ rootBoundary: RootBoundary;
+ flipVariations: boolean;
+ allowedAutoPlacements?: Array<Placement>;
+};
+export default function computeAutoPlacement(state: Partial<State>, options?: Options): Array<ComputedPlacement>;
+export {};