Skip to main content

DatGuiUtils

Functions

datify(model, mutationVisitor)View
makeControllerColor(folder, value, propertyName)
makeControllerObservedValue(folder, value, propertyName)
makeControllerObservedEnum(folder, value, propertyName)
makeDatController(datFolder, parent, propertyName, path)number

datify(model, mutationVisitor) ⇒ View

Kind: global function

ParamTypeDescription
modelobject
mutationVisitorfunctioncalled whenever model changes

makeControllerColor(folder, value, propertyName)

Kind: global function

ParamType
folderdat.gui.GUI
valueColor
propertyNamestring

makeControllerObservedValue(folder, value, propertyName)

Kind: global function

ParamType
folderdat.gui.GUI
valueObservedValue
propertyNameString

makeControllerObservedEnum(folder, value, propertyName)

Kind: global function

ParamType
folderdat.gui.GUI
valueObservedEnum
propertyNameString

makeDatController(datFolder, parent, propertyName, path) ⇒ number

Kind: global function
Returns: number - number of added rows

ParamType
datFolderdat.GUI
parentobject
propertyNameString
pathObjectPath