Skip to content
This repository was archived by the owner on Aug 9, 2024. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/for-developers/luau.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ local all_paragraphs = get("p", true)

| Function | x | Explanation |
| ----------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `set_contents(x)` | `x` should be a string. | Gets the text content of any item. |
| `set_content(x)` | `x` should be a string. | Sets the text content of any item. |
| `set_href(x)` | `x` must be the URL you want to set the `href` property to. It should be a string. | Sets the `href` value of an anchor. |
| `set_source(x)` | `x` must be the URL or base64 that you want to set the `src` property to. It should be a string. | Sets the `src` value of an image. |
| `set_opacity(x)` | `x` must be the value you want to set the `opacity` property to. It should be a float between 0 and 1. | Sets the `opacity` value of any item. |
Expand Down