View Source Bonfire.UI.Common.FollowButtonLive (bonfire v0.3.5-classic-beta.10)



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

  • object :any, required: true

  • class :css_class, default: nil

  • icon_class :css_class, default: nil

  • label :string, default: nil

  • my_follow :boolean, default: nil

  • hide_icon :boolean, default: false

  • hide_text :boolean, default: false

Link to this section Summary

Link to this section Functions

Link to this function

handle_event(action, attrs, socket)

View Source

Callback implementation for Phoenix.LiveComponent.handle_event/3.

Callback implementation for Phoenix.LiveComponent.mount/1.

Link to this function


View Source

Callback implementation for Phoenix.LiveComponent.preload/1.

Callback implementation for Phoenix.LiveComponent.render/1.

Callback implementation for Phoenix.LiveComponent.update/2.