mirror of
https://github.com/woutdp/live_svelte
synced 2026-05-24 09:28:21 +00:00
fix: clarify socket documentation
This commit is contained in:
parent
943e0c6268
commit
1daeb15377
1 changed files with 2 additions and 2 deletions
|
|
@ -30,12 +30,12 @@ defmodule LiveSvelte do
|
|||
|
||||
attr :ssr, :boolean,
|
||||
default: true,
|
||||
doc: "Whether to render the component on the server",
|
||||
doc: "Whether to render the component via NodeJS on the server",
|
||||
examples: [true, false]
|
||||
|
||||
attr :socket, :map,
|
||||
default: nil,
|
||||
doc: "LiveView socket, should be provided when rendering inside LiveView"
|
||||
doc: "LiveView socket, only needed when ssr: true"
|
||||
|
||||
attr :live_json_props, :map,
|
||||
default: %{},
|
||||
|
|
|
|||
Loading…
Reference in a new issue