Class: Shadcn::Popover::Preview

Inherits:
ApplicationViewComponentPreview show all
Defined in:
app/components/shadcn/popover/preview.rb

Instance Method Summary collapse

Instance Method Details

#alignObject

Upstream's "Align".



23
24
25
# File 'app/components/shadcn/popover/preview.rb', line 23

def align
  render_with_template
end

#defaultObject



6
7
8
# File 'app/components/shadcn/popover/preview.rb', line 6

def default
  render_with_template
end

#inside_containing_blockObject

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_contextObject

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