Idris2Doc : Text.HTML.Select

Text.HTML.Select

(source)

Definitions

dataSelectEntry : Type->Type
Totality: total
Visibility: public export
Constructors:
Title : String->SelectEntryt
Entry : t->String->SelectEntryt
recordSelectEv : Type->Type
Totality: total
Visibility: public export
Constructor: 
SE : Nat->String->t->SelectEvt

Projections:
.index : SelectEvt->Nat
.label : SelectEvt->String
.value : SelectEvt->t

Hint: 
FunctorSelectEv
.index : SelectEvt->Nat
Totality: total
Visibility: public export
index : SelectEvt->Nat
Totality: total
Visibility: public export
.label : SelectEvt->String
Totality: total
Visibility: public export
label : SelectEvt->String
Totality: total
Visibility: public export
.value : SelectEvt->t
Totality: total
Visibility: public export
value : SelectEvt->t
Totality: total
Visibility: public export
selectEntries : Sink (SelectEve) =>List (SelectEntryt) -> (t->Bool) -> (t->e) ->List (AttributeSelect) ->HTMLNode
Totality: total
Visibility: export
selectFromListBy : Sink (SelectEve) =>Listt-> (t->Bool) -> (t->String) -> (t->e) ->List (AttributeSelect) ->HTMLNode
  Create a `<select>` element displaying the options in the given
list.

@values : the list of options
@sel : true if the given item in the list should be selected
@display : how to display an option at the UI
@toEvent : how to convert an option to an event
@attrs : additional attributes

Totality: total
Visibility: export
selectFromList : Sink (SelectEve) =>Eqt=>Listt->Maybet-> (t->String) -> (t->e) ->List (AttributeSelect) ->HTMLNode
  Like `selectFromListBy` but uses an optional initial value
to determine the initially selected value.

@values : the list of options
@init : the initially selected option (if any)
@display : how to display an option at the UI
@toEvent : how to convert an option to an event
@attrs : additional attributes

Totality: total
Visibility: export
selectEntries' : Sinke=>List (SelectEntryt) -> (t->Bool) -> (t->e) ->List (AttributeSelect) ->HTMLNode
  Simplified version of `selectEntries` that does not take
a full `SelectEvent` sink.

Totality: total
Visibility: export
selectFromListBy' : Sinke=>Listt-> (t->Bool) -> (t->String) -> (t->e) ->List (AttributeSelect) ->HTMLNode
  Simplified version of `selectFromListBy` that does not take
a full `SelectEvent` sink.

Totality: total
Visibility: export
selectFromList' : Sinke=>Eqt=>Listt->Maybet-> (t->String) -> (t->e) ->List (AttributeSelect) ->HTMLNode
  Simplified version of `selectFromList` that does not take
a full `SelectEvent` sink.

Totality: total
Visibility: export