Class: Shadcn::Dialog::Preview
- Inherits:
-
ApplicationViewComponentPreview
- Object
- ViewComponentContrib::Preview::Base
- ApplicationViewComponentPreview
- Shadcn::Dialog::Preview
- Defined in:
- app/components/shadcn/dialog/preview.rb
Instance Method Summary collapse
- #default ⇒ Object
-
#inside_stacking_context ⇒ Object
The case the layering has to survive: a modal opened from inside an ancestor that creates a stacking context.
-
#no_close_button ⇒ Object
Upstream's "No Close Button": the corner dismiss left out.
-
#scrollable_content ⇒ Object
Upstream's "Scrollable Content": a body that scrolls under a header and footer that do not.
Instance Method Details
#default ⇒ Object
6 7 8 |
# File 'app/components/shadcn/dialog/preview.rb', line 6 def default render_with_template end |
#inside_stacking_context ⇒ Object
The case the layering has to survive: a modal opened from inside an ancestor that creates a stacking context.
12 13 14 |
# File 'app/components/shadcn/dialog/preview.rb', line 12 def inside_stacking_context render_with_template end |
#no_close_button ⇒ Object
Upstream's "No Close Button": the corner dismiss left out.
17 18 19 |
# File 'app/components/shadcn/dialog/preview.rb', line 17 def render_with_template end |
#scrollable_content ⇒ Object
Upstream's "Scrollable Content": a body that scrolls under a header and footer that do not.
23 24 25 |
# File 'app/components/shadcn/dialog/preview.rb', line 23 def scrollable_content render_with_template end |