mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Add delayed scope destruction to docs
This commit is contained in:
parent
a0eca04903
commit
6da33722e9
5 changed files with 92 additions and 20 deletions
|
|
@ -11,11 +11,11 @@ Returns a new source with a value always moving torwards the input source value.
|
|||
source: () -> T & Animatable,
|
||||
period: number = 1,
|
||||
damping_ratio: number = 1
|
||||
): (() -> T, SpringConfig<T>)
|
||||
): (() -> T, SpringControl<T>)
|
||||
|
||||
type Animatable = number | CFrame | Color3 | UDim | UDim2 | Vector2 | Vector3 | Rect
|
||||
|
||||
type SpringConfig<T> = ({
|
||||
type SpringControl<T> = ({
|
||||
position: T?,
|
||||
velocity: T?,
|
||||
impulse: T?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue