W3cubDocs

/Phoenix

Phoenix.LiveViewTest.View

The struct for testing LiveViews.

The following public fields represent the LiveView:

  • id - The DOM id of the LiveView
  • module - The module of the running LiveView
  • pid - The Pid of the running LiveView
  • endpoint - The endpoint for the LiveView

See the Phoenix.LiveViewTest documentation for usage.

© 2018 Chris McCord
Licensed under the MIT License.
https://hexdocs.pm/phoenix_live_view/Phoenix.LiveViewTest.View.html