View Source PetalComponents.Dropdown (petal_components v1.5.4)

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 "".
  • disabled (:boolean) - Defaults to false.
  • link_type (:string) - Defaults to "button".
  • Global attributes are accepted.

Slots

  • inner_block

Functions