Raxol. UI. Components. Harness. SpendMeter
(Raxol v2.6.1)
View Source
Spend-vs-cap gauge: agent spend as a bar toward its session/lifetime cap, colored green -> yellow -> red as spend approaches the cap.
Cost and control are the same concern -- this makes overspend visible
before the bill, using the same three-tier gauge idiom as
Raxol.UI.Components.Harness.ContextMeter.
Summary
Functions
Callback implementation for Raxol.UI.Components.Base.Component.handle_event/3.
Callback implementation for Raxol.UI.Components.Base.Component.mount/1.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.
Callback implementation for Raxol.UI.Components.Base.Component.update/2.
Types
Functions
Callback implementation for Raxol.UI.Components.Base.Component.handle_event/3.
Callback implementation for Raxol.UI.Components.Base.Component.mount/1.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.
Callback implementation for Raxol.UI.Components.Base.Component.update/2.