Griffon Guide 0.9.5-rc2 - Reference Documentation

# postInstantiateDelegates

## Purpose

Update node attributes after the node has been instantiated.

## Examples

    class SampleGriffonAddon {
        def postInstantiateDelegates = [
            {builder, attributes, node ->
                node.initialize()
            }
        ]
    }

## Description

PostInstantiate delegates are builder strategies that lets you update node attributes right after a node has been instantiated buf before said attributes are set on the node. You may also want to perform shared initialization across several nodes.