PetalComponents.Stepper (petal_components v4.11.3)

Copy Markdown View Source

Summary

Functions

stepper(assigns)

Attributes

  • steps (:list) (required)
  • orientation (:string) - Defaults to "horizontal". Must be one of "horizontal", or "vertical".
  • size (:string) - Defaults to "md". Must be one of "sm", "md", or "lg".
  • label_placement (:string) - horizontal only: bottom centres the labels under the circles (the classic wizard look); ignored when vertical, where labels always sit beside. Defaults to "beside". Must be one of "beside", or "bottom".
  • class (:string) - Defaults to "".