mirror of
https://github.com/centau/vide.git
synced 2026-08-20 23:01:37 +00:00
Modification of type definitions and index for doc
This commit is contained in:
parent
f0916f71c5
commit
2a3e60581f
5 changed files with 33 additions and 12 deletions
|
|
@ -7,13 +7,13 @@ Returns a new state with a dynamically animated value of the source.
|
|||
- ### Type
|
||||
|
||||
```lua
|
||||
type Animatable = number | CFrame | Color3 | UDim | UDim2 | Vector2 | Vector3
|
||||
|
||||
function spring<T>(
|
||||
source: () -> T & Animatable,
|
||||
period: number = 1,
|
||||
damping_ratio: number = 1
|
||||
): () -> T
|
||||
|
||||
type Animatable = number | CFrame | Color3 | UDim | UDim2 | Vector2 | Vector3
|
||||
```
|
||||
|
||||
- ### Details
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue