props
Purpose
Provide additional custom properties.Examples
class SampleGriffonAddon {
Map props = [
priority: [
get: { /* return some value */ },
set: { v -> /* store value */ }
]
]
}
Description
Theprops
property is responsible for adding new properties to builders. Each property is defined as a pair of closures that function as setter and getter.