gurt.width(), gurt.height()

This commit is contained in:
Face
2025-09-09 18:19:36 +03:00
parent bb0f4f102a
commit 03f4db7a84
4 changed files with 66 additions and 4 deletions

View File

@@ -272,7 +272,7 @@
<CardContent>
<pre class="bg-muted text-foreground overflow-x-auto rounded-lg p-4 text-sm"><code class="language-lua">{`<script>
local heading = gurt.select('h1')
heading:text('Dynamic Content!')
heading.text = 'Dynamic Content!'
local new_div = gurt.create('div', {
style = 'bg-blue-500 p-4 rounded'