29 matching pages, found in 61 ms

Ask StyxWritten on your GPU machine; takes a few seconds the first time.

  1. kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.SmartCell
    More about kino.hexdocs.pm
    Kino.SmartCell — Kino v0.19.1

    … 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 …

    0 points
  2. kino.hexdocs.pmhttps://kino.hexdocs.pm › 0.12.3 › Kino.SmartCell
    More about kino.hexdocs.pm
    Kino.SmartCell — Kino v0.12.3

    … 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 …

    0 points
  3. kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.RPC
    More about kino.hexdocs.pm
    Kino.RPC — Kino v0.19.1

    … 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 …

    0 points
  4. kino.hexdocs.pmhttps://kino.hexdocs.pm › 0.12.3 › Kino.Process
    More about kino.hexdocs.pm
    Kino.Process — Kino v0.12.3

    … 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 …

    0 points
  5. kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.Markdown
    More about kino.hexdocs.pm
    Kino.Markdown — Kino v0.19.1

    … 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 …

    0 points
  6. kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.Text
    More about kino.hexdocs.pm
    Kino.Text — Kino v0.19.1

    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 …

    0 points
  7. kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.Test
    More about kino.hexdocs.pm
    Kino.Test — Kino v0.19.1

    … 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 …

    0 points
  8. kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.Control
    More about kino.hexdocs.pm
    Kino.Control — Kino v0.19.1

    … 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 …

    0 points
  9. kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.JS
    More about kino.hexdocs.pm
    Kino.JS — Kino v0.19.1

    … 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 …

    0 points
  10. kino.hexdocs.pmhttps://kino.hexdocs.pm › Kino.Process
    More about kino.hexdocs.pm
    Kino.Process — Kino v0.19.1

    … 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 …

    0 points

Search for “source code site:kino.hexdocs.pm” on Google, or add !ddg, !w and other shortcuts to any search.