mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Improve docs
This commit is contained in:
parent
6764d34ce1
commit
fdc72a17f0
5 changed files with 33 additions and 30 deletions
|
|
@ -61,10 +61,10 @@ of explicitly typing out the class name and constructor.
|
|||
```lua
|
||||
create "Frame" {
|
||||
AnchorPoint = { 0.5, 1 },
|
||||
UDim2 = { 0.5, 0, 0.5, 0}
|
||||
UDim2 = { 0.5, 0, 0.5, 0 }
|
||||
}
|
||||
```
|
||||
|
||||
When a property is assigned a table, Vide will inspect the type of the property
|
||||
being assigned to, and call that type's default `new()` constructor with the
|
||||
values from the unpacked table.
|
||||
unpacked values from the assigned table.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue