Clamps Dictionary
create-o-label
Function
(create-o-label parent &key (label (make-ref "label")) (highlight (make-ref 0)) (color "black") (background '("transparent" "orange")) width height css)
Creates a div element on parent. Use a ref-object for label and highlight. Possible highlight-states are 0, 1 and 2. 1 uses the second element of color or background if provided as list, the main color if the list only contains 1 element or is an atom. A highlight state of 2 will flash between foreground/background colors.