View Source Bonfire.UI.Common.SmartInput.LiveHandler (Bonfire v0.9.10-classic-beta.169)

Summary

Functions

Link to this function

active_smart_input_component(smart_input_component, create_object_type)

View Source
Link to this function

active_smart_input_components(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

assign_open(context, assigns)

View Source

Open the composer by setting assigns

Link to this function

close_smart_input(js \\ %JS{})

View Source
Link to this function

confirm_close_smart_input(js \\ %JS{}, reusable_modal_id)

View Source
Link to this function

handle_event(action, params, socket)

View Source
Link to this function

maybe_from_json_string(json)

View Source
Link to this function

open(js \\ %JS{}, opts \\ nil)

View Source
Link to this function

open_type(js \\ %JS{}, component, create_object_type, opts \\ nil)

View Source
Link to this function

open_with_text_suggestion(text, set_assigns, socket_or_context)

View Source
Link to this function

replace_input_next_time(socket_or_context)

View Source

Set assigns in the smart input from anywhere in the app (whether using a live component or sticky live view)

Link to this function

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

View Source
Link to this function

show_main(js \\ %JS{}, opts \\ nil)

View Source
Link to this macro

sigil_p(route, extra)

View Source (macro)
Link to this function

smart_input_name(component)

View Source
Link to this function

switch_smart_input_type(type, js \\ %JS{})

View Source
Link to this function

toggle_expanded(js \\ %JS{}, target, btn, class)

View Source