Angular module for Angular in Space training course


Install
npm install a2s-comm@19.0.0

Documentation

A2sComm

Moduł Angular zawierający A2sComponent, przeznaczony do realizacji szkolenia Angular 2 Space.

Instalacja

    npm install a2s-comm --save

Użycie

Zmiana w app.module.ts

    import { A2sCommModule } from 'a2s-comm';
    // ...
    @NgModule({
        // ...
        imports: [A2sCommModule]
        // ...
    })
    export class AppModule {}

Zmiana w app.component.html

    // ...
    <a2s-comm></a2s-comm>
    // ...

Po dodaniu komponentu <a2s-comm> możesz korzystać z klas css SimpleGrid do szybkiego definiowania layoutu w aplikacji, np:

    <div class="container">
      <div class="row">
        <div class="col-3">
          <!-- This content will take up 3/12 (or 1/4) of the container -->
        </div>
        <div class="col-3">
          <!-- This content will take up 3/12 (or 1/4) of the container -->
        </div>
        <div class="col-6">
          <!-- This content will take up 6/12 (or 1/2) of the container -->
        </div>
      </div>
    </div>