Skip to main content

Checkbox

Types

CheckboxDefinition

type CheckboxDefinition = {
ValueTypes.Stateful<boolean>,
_instanceTextButton
}

A generic function type

Functions

new

Checkbox.new(definitionCheckboxDefinition) → ()

Creates a new checkbox.

Show raw api
{
    "functions": [
        {
            "name": "new",
            "desc": "Creates a new checkbox.",
            "params": [
                {
                    "name": "definition",
                    "desc": "",
                    "lua_type": "CheckboxDefinition"
                }
            ],
            "returns": [],
            "function_type": "static",
            "source": {
                "line": 34,
                "path": "MainModule/Client/UI/Checkbox.luau"
            }
        }
    ],
    "properties": [],
    "types": [
        {
            "name": "CheckboxDefinition",
            "desc": "A generic function type",
            "lua_type": "{ Value: Types.Stateful<boolean>, _instance: TextButton }",
            "source": {
                "line": 16,
                "path": "MainModule/Client/UI/Checkbox.luau"
            }
        }
    ],
    "name": "Checkbox",
    "desc": "",
    "source": {
        "line": 29,
        "path": "MainModule/Client/UI/Checkbox.luau"
    }
}