View Source Kino.Table behaviour (Kino v0.9.0)
A behaviour module for implementing tabular kinos.
This module implements table visualization and delegates data fetching and traversal to the behaviour implementation.
Link to this section Summary
Functions
Creates a new tabular kino using the given module as data specification.
Link to this section Types
@type info() :: %{name: String.t(), features: [:refetch | :pagination | :sorting]}
@type rows_spec() :: %{ offset: non_neg_integer(), limit: pos_integer(), order: nil | %{direction: :asc | :desc, key: term()} }
@type state() :: term()
@type t() :: Kino.JS.Live.t()
Link to this section Callbacks
Link to this section Functions
Creates a new tabular kino using the given module as data specification.