UNPKG

@pilotlab/lux-attributes

Version:

A luxurious user experience framework, developed by your friends at Pilot.

24 lines (17 loc) 738 B
import { IPromise } from '@pilotlab/lux-result'; import { ProgressTracker } from '@pilotlab/lux-progress'; import IAttributes from './iAttributes'; import IAttributeChangeOptions from './iAttributeChangeOptions'; import { IAnimationBatch } from '@pilotlab/lux-animation'; export interface IAttributeUpdateTracker { progressTracker:ProgressTracker; attributesNew:IAttributes; changeOptions:IAttributeChangeOptions; animation:IAnimationBatch; result:IPromise<any>; isChanged:boolean; attributesChanged:IAttributes; then(onDone:(value:any) => any, onError?:(error:Error) => void):IPromise<any>; update(attributesToUpdate:IAttributes):void; } // End interface export default IAttributeUpdateTracker;