Skip to content

WidgetBindings

Functions

Function Name Usage Description Notes
CallFunction widgetBindings:CallFunction(string function, ... args) Calls a Javascript function on this widget with the specified name and arguments The function needs to be registered using engine.on before it can be called from Lua (See the default widget html template for an example)

Overrides

Override Name Usage Description Notes
new_index widgetBindings.var = object value
index object widgetBindings.var