Skip to content
Snippets Groups Projects
user avatar
rhenck authored
- Elements initialize their fields explicitly and not with
  Object.assign, since Object.assign also assigns
  (and therefore overwrites) parent fields.
- IDService is no longer an Angular service but a basic singleton. This
  allows to use it in classes.
- The IDManager can be optionally passed to unit and element
  constructors. When present the elements check and fix their given ID
  when created.
  This way elements can be created without depending on the external
  IDManager but also with the dependency.
- ElementFactory is no longer used to create elements. Those are now
  either created directly via 'new' or via the Section, which knows the
  different element types.
f28b0678
History

Verona Modules Aspect

Repository for the Aspect Editor and Player. The applications have a shared code base, but can be run and built separately.

Meant to be used in IQB-Teststudio and IQB-Testcenter.

Both conform to the Verona API definition:

Editor-API

Player-API

Supported Browsers

last 1 Chrome version

last 1 Firefox version

last 2 Edge major versions

last 2 Safari major versions

last 2 iOS major versions

Firefox ESR

not IE 11

Build & Run

To build the packages or run the local development environment, first install the NPM packages. You need to have a recent version of node and npm (tested and working with versions: 6,7,8) installed.

npm install

Run development server

Run the package on a local development server (this builds the app automatically).

npm run start-editor-local

or

npm run start-player-local

Build

This produces an HTML file in the dist folder, named verona-{module}-aspect-{version}.html.

npm run build-editor

or

npm run build-player