Raxol.UI.Components.Dashboard.Widgets.TextInputWidget (Raxol v0.5.0)

View Source

A dashboard widget containing a text input.

Summary

Functions

broadcast(msg)

command(cmd)

mount(state)

Callback implementation for Raxol.UI.Components.Base.Component.mount/1.

render(state, props)

Renders the text input widget content.

Requires props:

  • widget_config: The configuration map for the widget (%{id: , type: , title: _, ...}).
  • app_text: The current text value from the main application model.

schedule(msg, delay)

unmount(state)

Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.