Last updated
Was this helpful?
Was this helpful?
// in your schema ...
{
"color": "blue",
"visible": model.someField == 0
}// in the JS module this may be accessed as ...
var theColor = color // blue
// Other modules would reference the attribute as a function ...
var isVisible = visible() // this is calling the key as a function