Class: Scarpe::WebviewFlow
- Inherits:
-
WebviewSlot
- Object
- Shoes::Linkable
- WebviewWidget
- WebviewSlot
- Scarpe::WebviewFlow
- Defined in:
- lib/scarpe/wv/flow.rb
Direct Known Subclasses
Constant Summary
Constants included from WebviewSpacing
Scarpe::WebviewSpacing::SPACING_DIRECTIONS
Constants included from Shoes::Log
Shoes::Log::DEFAULT_COMPONENT, Shoes::Log::DEFAULT_DEBUG_LOG_CONFIG, Shoes::Log::DEFAULT_LOG_CONFIG
Instance Attribute Summary
Attributes inherited from WebviewWidget
#children, #parent, #shoes_linkable_id
Attributes inherited from Shoes::Linkable
Instance Method Summary collapse
-
#initialize(properties) ⇒ WebviewFlow
constructor
A new instance of WebviewFlow.
- #style ⇒ Object protected
Methods inherited from WebviewSlot
#attributes, #element, #remove_event_callback, #remove_event_callbacks, #set_event_callback, #update_dom_event
Methods included from WebviewSpacing
#extract_spacing_styles_for, #spacing_values_from_options
Methods inherited from WebviewWidget
#add_child, #bind, #destroy_self, display_class_for, #handler_js_code, #html_element, #html_id, #inspect, #needs_update!, #promise_update, #properties_changed, #remove_child, #rgb_to_hex, #set_parent, #to_html
Methods included from Shoes::Log
configure_logger, #log_init, logger
Methods inherited from Shoes::Linkable
#bind_shoes_event, #send_self_event, #send_shoes_event, #unsub_shoes_event
Constructor Details
#initialize(properties) ⇒ WebviewFlow
Returns a new instance of WebviewFlow.
5 6 7 |
# File 'lib/scarpe/wv/flow.rb', line 5 def initialize(properties) super end |
Instance Method Details
#style ⇒ Object (protected)
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/scarpe/wv/flow.rb', line 11 def style { display: "flex", "flex-direction": "row", "flex-wrap": "wrap", "align-content": "flex-start", "justify-content": "flex-start", "align-items": "flex-start", }.merge(super) end |