Resize DHTML (Method): Difference between revisions

no edit summary
(Created page with "<onlyinclude>{{Method|name = Resize |arguments = Integer '''Width''', Integer '''Height''' |description = Changes the size of the window. |object = HtmlWindow }}</onlyinclude> {{clear floats}} {{Example|This code will create and spam resize a DHTML window 1000 times: <syntaxhighlight lang="lua"> local HtmlService = game:service("HtmlService") local htmlWindow = HtmlService:NewWindow() htmlWindow:Show() for i = 0, 1000 do htmlWindow:Resize(math.floor(math.ran...")
 
No edit summary
Line 7: Line 7:
{{clear floats}}
{{clear floats}}


{{Example|This code will create and spam resize a DHTML window 1000 times:
{{Example|This code will create and then spam resize a DHTML window 1000 times:
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
local HtmlService = game:service("HtmlService")
local HtmlService = game:service("HtmlService")