View Source PetalComponents.SlideOver (petal_components v1.2.7)

Link to this section Summary

Functions

Attributes

  • origin (:string) - slideover point of origin. Defaults to "right".
  • close_slide_over_target (:string) - close_slide_over_target allows you to target a specific live component for the close event to go to. eg: close_slide_over_target={@myself}. Defaults to nil.
  • title (:string) - slideover title. Defaults to nil.
  • max_width (:string) - sets container max-width. Defaults to "md".
  • class (:string) - CSS class. Defaults to "". Global attributes are accepted.

Slots

  • inner_block

Link to this section Functions

Link to this function

hide_slide_over(origin, close_slide_over_target \\ nil)

View Source

attributes

Attributes

  • origin (:string) - slideover point of origin. Defaults to "right".
  • close_slide_over_target (:string) - close_slide_over_target allows you to target a specific live component for the close event to go to. eg: close_slide_over_target={@myself}. Defaults to nil.
  • title (:string) - slideover title. Defaults to nil.
  • max_width (:string) - sets container max-width. Defaults to "md".
  • class (:string) - CSS class. Defaults to "". Global attributes are accepted.

slots

Slots

  • inner_block