PhoenixLens.Components.QuestionCard (phoenix_lens v0.1.0)

Copy Markdown View Source

Embed a saved question in a host LiveView.

<.live_component
  module={PhoenixLens.Components.QuestionCard}
  id={"q-#{id}"}
  question_id={id}
/>

Summary

Functions

cell(value)

masked?(result, column)

protected_fields()

render(assigns)

Callback implementation for Phoenix.LiveComponent.render/1.

update(assigns, socket)

Callback implementation for Phoenix.LiveComponent.update/2.