Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Fix api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
evaera committed Dec 11, 2021
1 parent b61542a commit 7fe1e5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/create.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@function create
@param className string -- The class name of the Instance to create
@param props CreateProps
@return Instance -- The created instance
@tag utilities
A function that creates an Instance tree.
Expand All @@ -12,6 +13,8 @@
- Numerical keys are interpreted as children
- Function values are interpreted as event handlers
This function doesn't do anything special. It just creates an instance.
```lua
create("Frame", {
BackgroundTransparency = 1,
Expand Down
1 change: 1 addition & 0 deletions src/widgets/arrow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@tag widgets
@param from Vector3 | CFrame | BasePart
@param to Vector3 | BasePart | nil
@param color Color3? -- Optional color. Random if not specified.
- `arrow(from: Vector3, to: Vector3)` -> Creates an arrow between `from` and `to`
- `arrow(point: Vector3)` -> Creates an arrow pointing at `point`
Expand Down

0 comments on commit 7fe1e5b

Please sign in to comment.