Phoenix.LiveView.__using__
You're seeing just the macro
__using__
, go back to Phoenix.LiveView module for more information.
Uses LiveView in the current module to mark it a LiveView.
use Phoenix.LiveView,
namespace: MyAppWeb,
container: {:tr, class: "colorized"},
layout: {MyAppWeb.LayoutView, "live.html"}
Options
:namespace
- configures the namespace theLiveView
is in:container
- configures the container theLiveView
will be wrapped in:layout
- configures the layout theLiveView
will be rendered in