# oh-context - Widget Context
Non-rendered component with functions, constants, and scoped variables for widgets
# Configuration
# General
# functions
Widget Functions TEXT
Object with key:arrow-function pairs. Functions are available to expressions in all child components via the fn
object.
Functions are evaluated on every call and re-evaluated when dependency values change.
# constants
Widget Constants TEXT
Object with key:constant pairs. Constants are available to expressions in all child components via the const
object.
Constants are evaluated once before the widget is displayed the first time and cannot be changed.
# variables
Widget Variables TEXT
Object with key:variable default value pairs. Variables are available to expressions in all child components via the vars
object and take precedence over variables with the same name from higher contexts.
Variables are evaluated once before the widget is displayed the first time . Their values can only be changed by other component variable actions (e.g. oh-button)