UNPKG

animejs

Version:

JavaScript animation engine

18 lines (17 loc) 1.42 kB
export function setValue<T, D>(targetValue: T | undefined, defaultValue: D): T | D; export function getFunctionValue(value: TweenPropValue, target: Target, index: number, targets: TargetsArray, store: any | null, prevTween: Tween | null): any; export function getTweenType(target: Target, prop: string): tweenTypes; export function getOriginalAnimatableValue(target: Target, propName: string, tweenType?: tweenTypes, animationInlineStyles?: any | void): string | number; export function getRelativeValue(x: number, y: number, operator: string): number; export function createDecomposedValueTargetObject(): TweenDecomposedValue; export function decomposeRawValue(rawValue: string | number, targetObject: TweenDecomposedValue): TweenDecomposedValue; export function decomposeTweenValue(tween: Tween, targetObject: TweenDecomposedValue): TweenDecomposedValue; export const decomposedOriginalValue: TweenDecomposedValue; export function composeColorValue(tween: Tween, progress: number, precision: number): string; export function composeComplexValue(tween: Tween, progress: number, precision: number): string; import type { TweenPropValue } from '../types/index.js'; import type { Target } from '../types/index.js'; import type { TargetsArray } from '../types/index.js'; import type { Tween } from '../types/index.js'; import { tweenTypes } from './consts.js'; import type { TweenDecomposedValue } from '../types/index.js';