View Source Installing Phoenix.LiveEditable

CONTENT TBD

  • the umbrella structure

  • using a GitHub dependency

  • using a path dependency

  • using live_editable component & the use LiveEditable expression

  • writing a handler

ASSIGNS

These assigns can be configured by the developer:

AssignDescriptionMutable?
idComponent IDno (never)
focusidID of 'in focus' componentyes
dataThe Component Data Valueyes
typeComponent Type (inline/popup)no (typically)
interfaceCSS interfaceno (never)

These assigns are used internally:

| mode | Component Mode | "focus" or "anchor" | yes |

CONFIGURATION

config/config.exs

config :your_app, YourAppWeb.Endpoint,
  pubsub_server: PleDemoBase.PubSub,
  ...
  live_editable: [interface: Phoenix.LiveEditable.Interface.Milligram]