preInstantiateDelegates
Purpose
Update node attributes before node is built.Examples
class SampleGriffonAddon { List preInstantiateDelegates = [ {builder, attributes, value -> attributes.colour = attributes.remove('color') } ] }
(Quick Reference)
preInstantiateDelegatesPurposeUpdate node attributes before node is built.Examplesclass SampleGriffonAddon { List preInstantiateDelegates = [ {builder, attributes, value -> attributes.colour = attributes.remove('color') } ] } DescriptionPreInstantiate delegates are builder strategies that lets you inspect and modify node attributes before a node is built. They're the perfect spot for applying type conversions on attributes that are shared across nodes. |
AddonsCommand LineGriffon Shell |