Component

This page summarizes the information & use of regular components.

Concepts

  • It is used to declare a new dependent object (Objects that can be injected by the mandarine built-in DI system)

  • It accepts the use of DI.

Usage

Syntax:

@Component()

Example

import { Component } from "https://deno.land/x/mandarinets/mod.ts";

@Component()
export class MyComponent {
}

Last updated