live_props v0.2.2 API Reference
Modules
LiveProps is a library for managing properties and state within Phoenix LiveViews and Phoenix LiveComponents.
When you use LiveProps.LiveComponent
in your Phoenix LiveComponent, all of the functionality
in LiveProps.Props
and LiveProps.States
will be imported.
Use this module inside a Phoenix.LiveView to expose to add state to your LiveView.
Functions for working with props. This wil be made available whenever you use LiveProps.LiveComponent
within a Phoenix.LiveComponent.
Functions for working with states. These will be imported
whenever you use
LiveProps.LiveComponent or LiveProps.LiveView