Class: Phlex::Reactive::Defer::Segment
- Inherits:
-
Data
- Object
- Data
- Phlex::Reactive::Defer::Segment
- Defined in:
- lib/phlex/reactive/defer.rb
Overview
One recorded deferred segment. component is the built (but not yet
rendered) reactive component; placeholder is nil (keep current
content, mark pending), true (the component's deferred_placeholder /
the built-in shell), a String, or a Phlex component; morph makes the
ARRIVAL morph instead of replace (issue #28 semantics).
Instance Attribute Summary collapse
-
#component ⇒ Object
readonly
Returns the value of attribute component.
-
#morph ⇒ Object
readonly
Returns the value of attribute morph.
-
#placeholder ⇒ Object
readonly
Returns the value of attribute placeholder.
Instance Attribute Details
#component ⇒ Object (readonly)
Returns the value of attribute component
28 29 30 |
# File 'lib/phlex/reactive/defer.rb', line 28 def component @component end |
#morph ⇒ Object (readonly)
Returns the value of attribute morph
28 29 30 |
# File 'lib/phlex/reactive/defer.rb', line 28 def morph @morph end |
#placeholder ⇒ Object (readonly)
Returns the value of attribute placeholder
28 29 30 |
# File 'lib/phlex/reactive/defer.rb', line 28 def placeholder @placeholder end |