property defer

(r/w) bool defer;

Typ

Zugriff

This property sets and gets the defer flag. If set to true this temporarily prevents data transfer when multiple data changes are to taking place or when multiple binding properties are taking place.
function onSample()
{
    var box = scene.getBoxById("myBox");
    if (box)
    {
        var binding = box.getDataBinding("myBinding");
        if (binding)
        {
            binding.defer = true;
            // Do multiple data changes here.
            binding.defer = false;
        }
    }
}