Methods
Method
Argument (Set) - Return (Get)
ChipSet.Options
table
ChipSet.State
function-N/A
ChipSet.Visible
boolean
ChipSet.ReadOnly
boolean
ChipSet.Changed
N/A
ChipSet:Destroy()
N/A
Example
Last updated
ChipSet.Options
table
ChipSet.State
function-N/A
ChipSet.Visible
boolean
ChipSet.ReadOnly
boolean
ChipSet.Changed
N/A
ChipSet:Destroy()
N/A
Last updated
local ChipSet = Tab:ChipSet({
Visible = true
})
ChipSet.Visible = falselocal ChipSet = Tab:ChipSet({
Visible = true
})
print(ChipSet.Visible)local ChipSet = Tab:ChipSet({
Options = {
A = false,
B = false,
C = true
}
})
ChipSet.State:Set("A", true)local ChipSet = Tab:ChipSet({
Options = {
A = false,
B = false,
C = true
}
})
ChipSet.State:Get("A")local ChipSet = Tab:ChipSet({
ReadOnly = false
})
ChipSet.ReadOnly = truelocal ChipSet = Tab:ChipSet({
ReadOnly = false
})
print(ChipSet.ReadOnly)local ChipSet = Tab:ChipSet({
Options = {
A = false,
B = false,
C = true
}
})
ChipSet.Changed:Connect(function(Property, Value)
print(("%s has changed to: %s"):format(Property, Value))
if Property == "State" then
warn("State from", Value.Index, " is:", Value.State)
end
end)local ChipSet = Tab:ChipSet()
ChipSet:Destroy()