view-transitions-polyfill
Version:
A polyfill for the View Transitions API.
29 lines (28 loc) • 781 B
TypeScript
import { default as ViewTransitionGroup } from './elements/view-transition-group';
declare class ImageData {
image: Element | undefined;
width: number;
height: number;
styleTransform: string;
transform: string;
writingMode: string;
direction: string;
textOrientation: string;
mixBlendMode: string;
backdropFilter: string;
colorScheme: string;
}
export default class CaptureElement {
old: ImageData;
groupKeyframes: string;
groupAnimationNameRule: string;
groupStylesRule: string;
imagePairIsolationRule: string;
imageAnimationNameRule: string;
oldElement: Element | undefined;
newElement: Element | undefined;
name: string;
group: ViewTransitionGroup | undefined;
new: ImageData;
}
export {};