UIZE JavaScript Framework

MODULES Uize.Class.mChildObjectBindings

1. Introduction

The Uize.Class.mChildObjectBindings mixin implements features to provide a declarative approach to binding the state properties of a class instance to those of its child objects.

DEVELOPERS: Ben Ilegbodu, original code contributed by Zazzle Inc.

1.1. Examples

There are no dedicated showcase example pages for the Uize.Class.mChildObjectBindings module.


Use the link below to search for example pages on the UIZE Web site that reference the Uize.Class.mChildObjectBindings module...


1.2. Implementation Info

The Uize.Class.mChildObjectBindings module defines the Uize.Class.mChildObjectBindings object under the Uize.Class namespace.

1.2.1. Features Introduced in This Module

The features listed in this section have been introduced in this module.


Uize.Class.mChildObjectBindings.moduleName | Uize.Class.mChildObjectBindings.pathToResources

1.2.2. Features Overridden in This Module

No features have been overridden in this module.

1.2.3. Features Inherited From Other Modules

This module has no inherited features.

1.2.4. Modules Directly Under This Namespace

There are no modules directly under this namespace.

1.2.5. Unit Tests

The Uize.Class.mChildObjectBindings module is unit tested by the Uize.Test.Uize.Class.mChildObjectBindings test module.

2. Static Methods

2.1. Uize.Class.mChildObjectBindings.childObjectBindings

Lets you conveniently declare the type of child objects binding to declare on the class.


MyClass.mChildObjectBindings (childObjectBindingsPropertiesOBJ);

The sole childObjectBindingsPropertiesOBJ parameter supports the following properties...

declaration - the name of the actual child object bindings declaration function to create (such as 'childBindings' for Uize.Widget.mChildBindings)
instanceProperty - the name of the instance property that contains the references to the child objects (such as 'children' for Uize.Widget.mChildBindings)
addedInstanceProperty - the name of the Uize.Class instance property that contains state about which child objects have been added (such as 'addedChildren' for =Uize.Widget.mChildBindings)
stateProperty - the name of the special state property that allows for setting state of child objects (such as 'children' for Uize.Widget.mChildBindings)

3. Static Properties

3.1. Uize.Class.mChildObjectBindings.moduleName


this feature was introduced in this module

3.2. Uize.Class.mChildObjectBindings.pathToResources


this feature was introduced in this module