Module: obitech-framework/propertyholder

obitech-framework/propertyholder

The ViewModel object provides a location to store rendering-instance-specific properties that live beyond the lifetime of a render call. There are two ways to use an instance of this class to get/set properties: myInstance.foo = 'value' myInstance.set('foo', 'value'); var foo = myInstance.foo; var foo = myInstance.get('foo'); myInstance.remove('foo');