package.dist.esm.utils.getBasePlacement.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Tooltip and Popover Positioning Engine
import { auto } from "../enums.js";
export default function getBasePlacement(placement) {
return placement.split('-')[0];
}