UIZE JavaScript Framework

JAVASCRIPT EXAMPLES enabled/busy in Widget Tree

This example demonstrates how the enabled and busy state properties behave in a hierarchical tree of widgets. In the example, a widget tree is created from instances of a dummy UizeSite.Widgets.EnabledBusyDemo.Widget class. The root widget has two child widgets of the same class, and one of those children has a further two children of the same class. The widget exposes controls for enabled and busy, and provides two buttons to demonstrate the effect of different combinations of enabled and busy at different levels of the tree. Tweak the values to see how the inheritance for these properties operates.

ACTIONS ON ROOT WIDGET:   RESET TREE  |  TOGGLE ENABLED  |  TOGGLE BUSY  |  BUSY FOR 4 SECONDS