Object
@object({
name: 'My Object',
weight: 1
})
class MyObject {
[ ... ]
}@object(options)
@object({
name: 'My Object',
weight: 1
})
class MyObject {
[ ... ]
}Last updated
Was this helpful?
Adding an object decorator
@object({
name: 'My Object',
weight: 1
})
class MyObject {
[ ... ]
}Arguments
options { Object } Options object
name { 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?
Was this helpful?