Class: Glib::JsonUi::ViewBuilder::Panels::Scroll

Inherits:
View show all
Defined in:
app/helpers/glib/json_ui/view_builder/panels.rb

Overview

Scrollable container panel for content that exceeds viewport height.

Scroll panels automatically add scrollbars when content overflows. This is the most common container for page content.

Examples:

Basic scrollable content

page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
  scroll.h1 text: 'Welcome'
  scroll.p text: 'Long content here...'
end

Instance Attribute Summary

Attributes inherited from JsonUiElement

#json, #page

Method Summary

Methods inherited from View

component_name

Methods inherited from JsonUiElement

action, any, array, badgeable, bool, color, component_name, date, date_time, enum, float, hash, icon, #initialize, int, length, menu, panels_builder, #props, required, singleton_array, string, text, url, views

Constructor Details

This class inherits a constructor from Glib::JsonUi::JsonUiElement