UNPKG

@ssgoi/core

Version:

Core animation engine for SSGOI - Native app-like page transitions with spring physics

11 lines 477 B
/** * Applies common styles for outgoing page elements * Makes the element absolute positioned to allow the incoming page to take its place */ export declare const prepareOutgoing: (element: HTMLElement) => void; /** * Gets the scrolling element that contains the given element * Returns the first scrollable parent element or document.documentElement */ export declare const getScrollingElement: (element: HTMLElement) => HTMLElement; //# sourceMappingURL=utils.d.ts.map