View Source Bonfire.Boundaries.Web.IfCan (bonfire v0.3.5-classic-beta.4)

properties

Properties

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

  • object :any

  • verbs :any, default: nil

  • if_not_say :string, default: nil

  • boundary_can :boolean, default: false

  • check_object_boundary :boolean, default: true

slots

Slots

  • default
  • if_not

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

preload(list_of_assigns)

View Source

Callback implementation for Phoenix.LiveComponent.preload/1.

Callback implementation for Phoenix.LiveComponent.render/1.

Callback implementation for Phoenix.LiveComponent.update/2.