From 17d6f3d73cba8adaee3f98e28179833b0139239a Mon Sep 17 00:00:00 2001 From: IfkumRfnl <63595916+IfkumRfnl@users.noreply.github.com> Date: Sat, 22 Jun 2024 21:26:05 +0400 Subject: [PATCH] Update luau.md Fixed typos --- docs/for-developers/luau.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/for-developers/luau.md b/docs/for-developers/luau.md index 6d384c87..013deeb5 100644 --- a/docs/for-developers/luau.md +++ b/docs/for-developers/luau.md @@ -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. |