JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 43
  • Score
    100M100P100Q68245F
  • License MIT

Angular scorm wrapper

Package Exports

  • ngx-scorm-wrapper

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ngx-scorm-wrapper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ngx-scorm-wrapper - Scorm wrapper service for angular projects

This project is based on AngularJS version which can be found here: https://github.com/patamechanix/angularjs-scorm-wrapper

Build Status codecov npm version

Quick start

Install (check out the demo implementation -> ngx-scorm-wrapper-demo)

npm i ngx-scorm-wrapper

Add ScormWrapperService to your module providers.

import { ScormWrapperModule } from 'ngx-scorm-wrapper';

@NgModule({
  imports: [
    ScormWrapperModule
  ],
  declarations: [
  ],
  providers: [],
  bootstrap: []
})
export class AppModule {}

You can use the ScormWrapperService in any of your components (after you added it to the providers in your app.module). Just add the service to your component class constructor like:

constructor(private scormWrapperService: ScormWrapperService)

You can now use the methods found here: angularjs-scorm-wrapper