{# ============================================================ #} {# — daisyUI dropdown (trigger + panel) #} {# #} {# Trigger: #} {# By default, any extra attributes on are #} {# forwarded to an inner that becomes the #} {# trigger — e.g. text, icon, variant, size. #} {# #} {# #} {# #} {# #} {# #} {# For full control, supply the trigger in the `button` #} {# slot. In that case extra attributes fall through to the #} {# dropdown wrapper instead (handy for x-data, id, …), and #} {# you own the trigger's tabindex/role. #} {# #} {# Props: #} {# halign – start|center|end (default: start) #} {# valign – top|bottom|left|right (default: bottom) #} {# full – stretch the panel to the trigger's width #} {# (w-full); otherwise it sizes to its #} {# content with a sensible min-width #} {# hover – open on hover instead of click #} {# class – extra classes on the .dropdown wrapper #} {# content_class – extra classes on the .dropdown-content #} {# ============================================================ #} {% load mvp %}