Class: Phlex::Reactive::Component::OnCompleteDefinition

Inherits:
Data
  • Object
show all
Defined in:
lib/phlex/reactive/component.rb

Overview

A declared completion binding (issue #226): conditions are the pre-compiled ShowConditions DNF groups (the ONE conditions language, including the #226 length: form); ops is the validated [[op, args],…] client-op chain. The generic controller evaluates the conditions over the owned fields on input/change and runs the ops on the RISING EDGE — the conditions' first flip to true — through the same frozen CLIENT_OPS whitelist as on_client. The connect/morph pass arms without firing.

Instance Attribute Summary collapse

Instance Attribute Details

#conditionsObject (readonly)

Returns the value of attribute conditions

Returns:

  • (Object)

    the current value of conditions



114
115
116
# File 'lib/phlex/reactive/component.rb', line 114

def conditions
  @conditions
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



114
115
116
# File 'lib/phlex/reactive/component.rb', line 114

def name
  @name
end

#opsObject (readonly)

Returns the value of attribute ops

Returns:

  • (Object)

    the current value of ops



114
115
116
# File 'lib/phlex/reactive/component.rb', line 114

def ops
  @ops
end