...

/

Component’s Class File

Component’s Class File

Learn about the basic code in a component's class file.

Elements of a component

Here’s a diagram of what a component’s class file looks like. 

Each component must have an import section, decorator section, and export section. 

Import section

The import section imports all the code ...