We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df7606d commit d9fc3f0Copy full SHA for d9fc3f0
src/index.ts
@@ -153,6 +153,7 @@ export interface Property {
153
isClosed: boolean
154
): PathValue;
155
key(indexOrName: number | string): Key;
156
+ nearestKey(time: number): Key;
157
propertyGroup(countUp: number): PropertyGroup;
158
}
159
@@ -189,6 +190,7 @@ export const PropertyBase: PathProperty = {
189
190
createPath: (points, inTangents = [], outTangent = [], isClosed = true) =>
191
PathBase,
192
key: (indexOrName) => KeyBase,
193
+ nearestKey: (t) => KeyBase,
194
propertyGroup: (countUp = 1) => PropertyGroupBase,
195
points: (t = time) => PointsBase,
196
inTangents: (t = time) => PointsBase,
0 commit comments