29 matching pages, found in 61 ms
Ask StyxWritten on your GPU machine; takes a few seconds the first time.
-
kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.SmartCellKino.SmartCell — Kino v0.19.1
More about kino.hexdocs.pm
… use Kino.SmartCell , name : "Plain code editor" @impl true def init ( attrs , ctx ) do source = attrs [ "source" ] || "" { :ok , assign ( ctx , source : source ) } end @impl true def handle_connect ( ctx ) do { :ok , %{ source : ctx …
-
kino.hexdocs.pmhttps://kino.hexdocs.pm › 0.12.3 › Kino.SmartCellKino.SmartCell — Kino v0.12.3
More about kino.hexdocs.pm
… use Kino.SmartCell , name : "Plain code editor" @impl true def init ( attrs , ctx ) do source = attrs [ "source" ] || "" { :ok , assign ( ctx , source : source ) } end @impl true def handle_connect ( ctx ) do { :ok , %{ source : ctx …
-
kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.RPCKino.RPC — Kino v0.19.1
More about kino.hexdocs.pm
… returned from evaluation. The code is analyzed for variable references, they are automatically extracted from the caller binding and passed to the evaluation. This means that the evaluated string actually has closure …
-
kino.hexdocs.pmhttps://kino.hexdocs.pm › 0.12.3 › Kino.ProcessKino.Process — Kino v0.12.3
More about kino.hexdocs.pm
… thing returned from the code block in order to render the visual. In addition, this function returns the result from the provided trace function. Link to this function render_sup_tree(supervisor …
-
kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.MarkdownKino.Markdown — Kino v0.19.1
More about kino.hexdocs.pm
… A regular Markdown file. ## Code ```elixir "Elixir" |> String.graphemes() |> Enum.frequencies() ``` ## Table | ID | Name | Website | | -- | ------ | ----------------------- | | 1 | Elixir | https://elixir-lang.org | | 2 | Erlang | https://www.erlang.org | """ ) This format may come in handy when exploring Markdown from …
-
kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.TextKino.Text — Kino v0.19.1
More about kino.hexdocs.pm
Kino. Text (Kino v0.19.1) Copy Markdown View Source A kino for rendering text content. For rich text, use Kino.Markdown . Examples Kino.Text . new ( "Hello!" ) [ :green , "Hello!" ] |> IO.ANSI . format ( ) |> IO . iodata_to_binary ( ) |> Kino.Text …
-
kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.TestKino.Test — Kino v0.19.1
More about kino.hexdocs.pm
… changed smart cell editor source to a Kino.JS.Live kino. This is going to call Kino.SmartCell.handle_editor_change/2 implementation in the smart cell module. Examples push_smart_cell_editor_source ( kino , "source …
-
kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.ControlKino.Control — Kino v0.19.1
More about kino.hexdocs.pm
… client1", type: :keyup}} stream(source) @spec stream( event_source () | [ event_source ()]) :: Enumerable.t () Merges several inputs and controls into a single stream of events. It accepts a single source or a list of …
-
kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.JSKino.JS — Kino v0.19.1
More about kino.hexdocs.pm
… credentials in the assets source, instead pass them as arguments from your Elixir code. JavaScript API In the example we briefly introduced the ctx (context) object that is made available in the …
-
kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.ProcessKino.Process — Kino v0.19.1
More about kino.hexdocs.pm
… anywhere within the Livebook code block whereas app_tree/2 must have its result be the last thing returned from the code block in order to render the visual. It supports the …
Search for “source code site:kino.hexdocs.pm” on Google, or add !ddg, !w and other shortcuts to any search.