View Source PetalComponents.Dropdown (petal_components v1.2.5)

Link to this section Summary

Functions

<.dropdown label="Dropdown" js_lib="alpine_js|live_view_js">

Attributes

  • to (:string) - link path. Defaults to nil.
  • label (:string) - link label.
  • class (:string) - any additional CSS classes. Defaults to "".
  • link_type (:string) - Defaults to "button". Global attributes are accepted.

Slots

  • inner_block

Link to this section Functions