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/dist/esm/utils/getVariation.js')
-rw-r--r--popperjs/package/dist/esm/utils/getVariation.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/popperjs/package/dist/esm/utils/getVariation.js b/popperjs/package/dist/esm/utils/getVariation.js
new file mode 100644
index 0000000..c760df2
--- /dev/null
+++ b/popperjs/package/dist/esm/utils/getVariation.js
@@ -0,0 +1,3 @@
+export default function getVariation(placement) {
+ return placement.split('-')[1];
+} \ No newline at end of file