@Show
and it will be visible in the playground!
For example, check out the code for Average Stock Price, and you will see that
we have decorated averagePrice
with @Show
. That’s why it shows up here:
data
, which you’d want to decorate with @Show
.
data
could actually be rendered as a table?
@Table
, which you can decorate your class with. Simply provide the “columns” you want to show and you get a nice looking view!
For example:
@Show
and it should be an array of records.@Collection
to show objects.
For example:
@Show
and it should be an array of records.@KeyValue
to render a Map
.
For example:
@Show
and it should be a Map
.@Show
won’t cause this. You have to assign a view to the class.