Class: Shadcn::Resizable::Preview
- Inherits:
-
ApplicationViewComponentPreview
- Object
- ViewComponentContrib::Preview::Base
- ApplicationViewComponentPreview
- Shadcn::Resizable::Preview
- Defined in:
- app/components/shadcn/resizable/preview.rb
Instance Method Summary collapse
-
#default ⇒ Object
Upstream's own first example: two panels side by side.
-
#vertical ⇒ Object
Upstream's "Vertical".
-
#with_handle ⇒ Object
Upstream's "With Handle", and a nested group — a row inside a column, which is the layout the docs use to show both at once.
Instance Method Details
#default ⇒ Object
Upstream's own first example: two panels side by side.
7 8 9 |
# File 'app/components/shadcn/resizable/preview.rb', line 7 def default render_with_template end |
#vertical ⇒ Object
Upstream's "Vertical".
12 13 14 |
# File 'app/components/shadcn/resizable/preview.rb', line 12 def vertical render_with_template end |
#with_handle ⇒ Object
Upstream's "With Handle", and a nested group — a row inside a column, which is the layout the docs use to show both at once.
18 19 20 |
# File 'app/components/shadcn/resizable/preview.rb', line 18 def with_handle render_with_template end |