View Source
PetalComponents.SlideOver
(petal_components v1.9.2)
Summary
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
.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
(:string
) - CSS class. Defaults to ""
.hide
(:boolean
) - slideover is hidden. Defaults to false
.- Global attributes are accepted.
Slots
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
.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
(:string
) - CSS class. Defaults to ""
.hide
(:boolean
) - slideover is hidden. Defaults to false
.- Global attributes are accepted.
Slots