PetalComponents.SlideOver
(petal_components v3.0.1)
View Source
Summary
Attributes
id (:string) - Defaults to "slide-over".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.close_on_click_away (:boolean) - whether the slideover should close when a user clicks away. Defaults to true.close_on_escape (:boolean) - whether the slideover should close when a user hits escape. Defaults to true.title (:string) - slideover title. Defaults to nil.max_width (:string) - sets container max-width. Defaults to "md".class (:any) - CSS class. Defaults to nil.hide (:boolean) - slideover is hidden. Defaults to false.- Global attributes are accepted.
Slots
Functions
Attributes
id (:string) - Defaults to "slide-over".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.close_on_click_away (:boolean) - whether the slideover should close when a user clicks away. Defaults to true.close_on_escape (:boolean) - whether the slideover should close when a user hits escape. Defaults to true.title (:string) - slideover title. Defaults to nil.max_width (:string) - sets container max-width. Defaults to "md".class (:any) - CSS class. Defaults to nil.hide (:boolean) - slideover is hidden. Defaults to false.- Global attributes are accepted.
Slots