9999.0.4 • Published 8 months ago

ngx-edu-sharing-ui v9999.0.4

Weekly downloads
-
License
GNU GPL v2
Repository
-
Last release
8 months ago

EduSharingUi

This library bundles base ui components from edu-sharing.

This library was generated with Angular CLI version 13.3.0.

Required Init tasks

Your project must provide a Toast service (for message viewing). You may use a mat-snackbar for displaying.

in your app.module.ts:

import { Toast as ToastAbstract } from 'ngx-edu-sharing-ui';
providers: [
    { provide: ToastAbstract, useClass: Toast },
    // ...
];

Make sure that your Toast-Service extends the abstract Toast service.

You might also provide other services for extended functionality, including Toast, OptionsHelperService, KeyboardShortcutsService, AppService.

Check out our sample angular application for a full example Check the app.module.ts for registration.

In one of your primary components (i.e. router) you need to initalize the material theme and translations:

async ngOnInit() {
  this.materialCssVarsService.setPrimaryColor('#2e9e9b');
  this.materialCssVarsService.setAccentColor('#2e9e9b');
  await this.translationsService.initialize().toPromise()
}

In your scss, make sure to include the global variables via @import "node-modules/ngx-edu-sharing-ui/assets/scss/variables";

9.1.4

8 months ago

9999.0.4

8 months ago

9.1.3

10 months ago

9.1.2

10 months ago

9999.0.3

10 months ago

9999.0.0

11 months ago

9.2.0

1 year ago

9.1.1

1 year ago

9999.0.1

11 months ago

9999.0.2

11 months ago

9.0.2

2 years ago

9.0.1

2 years ago

9.0.0

2 years ago

0.7.0

2 years ago