🟩assign
CLIENT
▸ Parameters
str
id
id used for object's data
any
data
data to attach
▸ Description
Attaches data to a specified panel
▸ Example
/*
* panel
*/
local cat = ui.rlib( mod, 'category', self.scr )
:assign ( 'name', 'Ammo' )
/*
* print example
*/
print( cat.name )
> 'Ammo'
Last updated