View Source PetalComponents.SlideOver (petal_components v1.3.0)

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

Functions

Link to this function

hide_slide_over(origin, close_slide_over_target \\ nil)

View Source

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