@pilotlab/lux-attributes
Version:
A luxurious user experience framework, developed by your friends at Pilot.
22 lines (15 loc) • 660 B
text/typescript
import { Animation, IAnimationBatch, AnimationBatch } from '@pilotlab/lux-animation';
import IAttribute from './interfaces/iAttribute';
import { IAttributeSetReturn } from "./interfaces/iAttributeSetReturn";
export class AttributeSetReturn<TAttribute extends IAttribute>
implements IAttributeSetReturn {
constructor(attribute:TAttribute, isChanged:boolean) {
this.attribute = attribute;
this.isChanged = isChanged;
this.animation = new AnimationBatch(Animation.animate, [], false);
}
attribute:TAttribute;
isChanged:boolean = false;
animation:IAnimationBatch;
} // End class
export default AttributeSetReturn;