Decorators

@Injectable

Enables a class to participate in Dependency Injection

@Show

Use this on data members to show them on the playground. See this.

@Table

Renders the class and the data it’s marked with @Show as a table. See this.

columns
string[]
required

The columns that should be rendered

@Collection

Renders the class and the data it’s marked with @Show as a collection. See this.

@KeyValue

Renders the class and the data it’s marked with @Show as a key-value pair. See this.


Auto-complete templates

There are 4 auto templates, ready to go as soon as start typing:

service

Creates an @Injectable class

table

Creates an @Injectable class with a type and a table view.

collection

Creates an @Injectable class with a type and a collection view.

keyvalue

Creates an @Injectable class with a type and a key-value view.