@shoelace-style/shoelace
Version:
A forward-thinking library of web components.
15 lines (13 loc) • 393 B
JavaScript
// src/components/animation/animations.ts
import * as animations from "@shoelace-style/animations";
function getAnimationNames() {
return Object.entries(animations).filter(([name]) => name !== "easings").map(([name]) => name);
}
function getEasingNames() {
return Object.entries(animations.easings).map(([name]) => name);
}
export {
animations,
getAnimationNames,
getEasingNames
};