Class: Shadcn::AspectRatio::Preview
- Inherits:
-
Shadcn::ApplicationViewComponentPreview
- Object
- ViewComponentContrib::Preview::Base
- Shadcn::ApplicationViewComponentPreview
- Shadcn::AspectRatio::Preview
- Defined in:
- app/components/shadcn/aspect_ratio/preview.rb
Instance Method Summary collapse
- #default ⇒ Object
-
#ratios ⇒ Object
Upstream's "Square" and "Portrait", beside the default's 16/9.
Instance Method Details
#default ⇒ Object
6 7 8 |
# File 'app/components/shadcn/aspect_ratio/preview.rb', line 6 def default render_with_template end |
#ratios ⇒ Object
Upstream's "Square" and "Portrait", beside the default's 16/9.
11 12 13 |
# File 'app/components/shadcn/aspect_ratio/preview.rb', line 11 def ratios render_with_template end |