Module:HelloWorld

From Desynced Wiki

<input type="radio" />


local p = {}
local m = {} -- Use for internal function. You can use this one for debugging without exposing functions, return this instead of p

---@type any
---@diagnostic disable-next-line: lowercase-global
mw = mw

p.render = function (frame)
	local elem = mw.html.create("input")
    elem
        :attr("type", "radio") 
        
    return tostring(elem)
end

return p

--[[
Debugging:

Return m instead of p if you want to debug those private functions

local frame = { args = { name = "Ultra-tech Framework" } }
(enter)
= p.render(frame)
(enter)

--]]