@pilotlab/lux-attributes
Version:
A luxurious user experience framework, developed by your friends at Pilot.
18 lines (17 loc) • 729 B
TypeScript
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;
}
export default IAttributeUpdateTracker;