View Source F1BotWeb.Component.LapTimeField (f1_bot v0.7.0)

properties

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

  • class :css_class

  • stat :map, required: true

  • overall_fastest_class :css_class, default: "border-purple-600"

  • personal_fastest_class :css_class, default: "border-green-600"

  • not_fastest_class :css_class, default: "border-transparent"

  • can_drop_minute :boolean, default: true

Link to this section Summary

Link to this section Functions

Callback implementation for Phoenix.LiveComponent.mount/1.

Callback implementation for Phoenix.LiveComponent.update/2.