Raxol.UI.State.Context.ContextDef (Raxol v2.6.0)

View Source

Definition structure for a context.

Defines a named context with a default value and optional display name, tracking all providers that supply values for this context.

Summary

Functions

new(name, default_value, opts \\ [])