Ui.LabelSourceLabels.
Labels are for displaying short units of textual content. See the styling information.
The type for labels.
val v :
?class':Jstr.t ->
?enabled:bool Note.signal ->
?tip:Jstr.t Note.signal ->
Brr.El.t list Note.signal ->
tv ~class' ~enabled ~tip label is a label with:
label the label's contents.enabled indicates if the label should look as such. Defaults to Note.S.Bool.true'tip is a tooltip for the label.class' is added to the element's classes.enabled l is a signal that is true iff the label is enabled.
The element returned by el makes use of the following CSS classes:
ui-label always.ui-disabled whenever enabled is false.