(compute-position placement offset anchor-rect panel-size viewport-size margin)Computes viewport-relative position for the popover panel. Returns {:x :y :final-placement :max-height}.
Computes viewport-relative position for the popover panel.
Returns {:x :y :final-placement :max-height}.(normalize {:keys [open-present? disabled-present? no-close-present?
portal-present? heading-raw placement-raw close-label-raw]})Derives a complete view-model map from raw attribute presence/values.
Derives a complete view-model map from raw attribute presence/values.
(normalize-placement s)Normalizes raw placement string. Falls back to default-placement if invalid or nil.
Normalizes raw placement string. Falls back to default-placement if invalid or nil.
(toggle-detail open? source)Produces the CustomEvent detail object for toggle/change events.
Produces the CustomEvent detail object for toggle/change events.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |