Object
Adding an object decorator
@object({
name: 'My Object',
weight: 1
})
class MyObject {
[ ... ]
}@object(options)
Arguments
options{ Object } Options objectname{ String } The Cortex objectName (eg. account, c_foo)weight{ Number = 0 } The weight
@object({
name: 'My Object',
weight: 1
})
class MyObject {
[ ... ]
}Last updated
Was this helpful?