View Source Evision.SmartCell.SimpleList (Evision v0.1.28)
A kino for displaying a list of labels. This kino is primarily used to present top classification predictions.
examples
Examples
predictions = [
"malamute",
"Siberian husky",
"Eskimo dog",
"Tibetan mastiff",
"German shepherd"
]
Evision.SmartCell.SimpleList.new(predictions)
Link to this section Summary
Functions
Creates a new kino displaying the given list of items. Expects a list of tuples, each element being the label and its score.
Link to this section Types
@type t() :: Kino.JS.t()
Link to this section Functions
Creates a new kino displaying the given list of items. Expects a list of tuples, each element being the label and its score.