View Source LightningWeb.ModalPortal (Lightning v2.10.4)

Component for rendering content inside layout without full DOM patch.

Summary

Functions

Link to this function

handle_event(binary, _, socket)

View Source

Callback implementation for Phoenix.LiveComponent.handle_event/3.

Link to this function

on_hide(close_modal_target \\ nil, id \\ "modal")

View Source
Link to this function

on_show(js \\ %JS{}, id)

View Source
Link to this function

open_modal(module, attrs)

View Source

Callback implementation for Phoenix.LiveComponent.render/1.

Callback implementation for Phoenix.LiveComponent.update/2.