View Source PetalComponents.Dropdown (petal_components v0.19.2)

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".
  • rest (:global) - Supports all globals plus: ["method", "download", "hreflang", "ping", "referrerpolicy", "rel", "target", "type"].

Slots

  • inner_block

Link to this section Functions