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

properties

Properties

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

  • create_object_type :atom, default: nil

  • reply_to_id :string, default: nil

  • context_id :string, default: nil, required: false

  • smart_input_component :atom, default: nil

  • to_boundaries :list, default: []

  • to_circles :list, default: []

  • open_boundaries :boolean, default: false

  • smart_input_prompt :string, required: false

  • smart_input_text :string, required: false

  • showing_within :any, default: nil

  • with_rich_editor :boolean, default: true, required: false

  • activity :any, default: nil

  • hide_smart_input :boolean, default: false

  • object :any, default: nil

  • activity_inception :any, default: nil

  • title_open :boolean, default: nil

  • title_prompt :string, default: nil

  • preloaded_recipients :list, default: nil

  • show_select_recipients :boolean, default: false

  • thread_mode :any, default: nil

  • page :any, default: nil

  • boundaries_modal_id :string, default: :sidebar_composer

  • without_sidebar :string, default: nil

  • replied_activity_class :css_class, default: "relative !rounded-none !border-t !border-base-content/10 p-3 !bg-base-200 hover:!bg-base-200 hover:!bg-opacity-100 showing_within:smart_input overflow-hidden"

Link to this section Summary

Link to this section Functions

Link to this function

active_smart_input_component(smart_input_component, create_object_type)

View Source
Link to this function

activity_type_or_reply(assigns)

View Source
Link to this function

all_smart_input_components()

View Source
Link to this function

handle_event(action, params, socket)

View Source

Callback implementation for Phoenix.LiveComponent.handle_event/3.

Link to this function

handle_info(info, socket)

View Source
Link to this function

handle_params(params, attrs, socket)

View Source

See Bonfire.UI.Common.LiveHandlers.handle_params/3.

Callback implementation for Phoenix.LiveComponent.mount/1.

Callback implementation for Phoenix.LiveComponent.render/1.

Link to this function

set_smart_input_text(socket, text \\ "\n")

View Source
Link to this function

smart_input_name(component)

View Source

Callback implementation for Phoenix.LiveComponent.update/2.