Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Component c1 adds component c2, and binds the nextbutton.disabled to c2's property "disabled".

Image Added

When the tree gets rendered createContent for c1 gets called first, and the binding also executes at that point, getting "disabled" from c2 component that is not yet built.

If c2 changes the state of disabled in createContent then c1 has seen the wrong value. This test checks that binding executes after ALL builds are complete.