MCPcopy Create free account
hub / github.com/Fiddle-Digital/string-scroll / StringLerpAnimation

Class StringLerpAnimation

src/Animations/StringLerpAnimation.ts:5–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import { StringAnimationData } from "./StringAnimationData";
4
5export class StringLerpAnimation extends StringAnimation{
6 constructor(){
7 super('data-string-lerp', '--string-lerp', '')
8 this.onScroll = (object: StringScrollObject, data: StringAnimationData)=>{
9 return data.value;
10 }
11 }
12}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected