Class: Shadcn::Popover::Preview
- Inherits:
-
ApplicationViewComponentPreview
- Object
- ViewComponentContrib::Preview::Base
- ApplicationViewComponentPreview
- Shadcn::Popover::Preview
- Defined in:
- app/components/shadcn/popover/preview.rb
Instance Method Summary collapse
-
#align ⇒ Object
Upstream's "Align".
- #default ⇒ Object
-
#inside_containing_block ⇒ Object
The other ancestor hazard:
transform,filterandcontaineach become the containing block for a fixed descendant. -
#inside_stacking_context ⇒ Object
The case the layering has to survive: an ancestor that creates a stacking context.
Instance Method Details
#align ⇒ Object
Upstream's "Align".
23 24 25 |
# File 'app/components/shadcn/popover/preview.rb', line 23 def align render_with_template end |
#default ⇒ Object
6 7 8 |
# File 'app/components/shadcn/popover/preview.rb', line 6 def default render_with_template end |
#inside_containing_block ⇒ Object
The other ancestor hazard: transform, filter and contain each
become the containing block for a fixed descendant.
18 19 20 |
# File 'app/components/shadcn/popover/preview.rb', line 18 def inside_containing_block render_with_template end |
#inside_stacking_context ⇒ Object
The case the layering has to survive: an ancestor that creates a stacking context.
12 13 14 |
# File 'app/components/shadcn/popover/preview.rb', line 12 def inside_stacking_context render_with_template end |