Module to pull in application dependencies for live mode.
Table of Contents
General Concepts
Applications on Acoustic Content can run in preview mode and in live mode. In preview mode they are augmented with inline edit capabilities and optimited for inline edit experience, in live mode they run in read-only mode optimized for size and performance.
The difference in runtime behaviour is achieved by building the application twice with different dependency providers for services that the application relies on.
Providers for preview mode are supplied by the ng-app-preview
module, for live mode via the ng-app-live
module and general purpose providers that apply to both modes by the ng-app-base
module.
Home > @acoustic-content-sdk/ng-app-live
ng-app-live package
Module that contains a default configuration to run an Angular application against Acoustic Content in live mode.
Classes
Class | Description |
---|---|
AcNgAppLiveModule | Imports the modules required for live functionality |
Variables
Variable | Description |
---|---|
MODULE | Module name |
VERSION | Version and build number of the package |
Home > @acoustic-content-sdk/ng-app-live > AcNgAppLiveModule
AcNgAppLiveModule class
Imports the modules required for live functionality
Signature:
export declare class AcNgAppLiveModule
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(aLoggerService) | Constructs a new instance of the AcNgAppLiveModule class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
VERSION | WchSdkVersion |
Exposes the version information of this module |
Home > @acoustic-content-sdk/ng-app-live > MODULE
MODULE variable
Module name
Signature:
MODULE = "@acoustic-content-sdk/ng-app-live"
Home > @acoustic-content-sdk/ng-app-live > VERSION
VERSION variable
Version and build number of the package
Signature:
VERSION: {
version: {
major: string;
minor: string;
patch: string;
branch: string;
};
build: Date;
}
Home > @acoustic-content-sdk/ng-app-live > AcNgAppLiveModule > (constructor)
AcNgAppLiveModule.(constructor)
Constructs a new instance of the AcNgAppLiveModule
class
Signature:
constructor(aLoggerService: LoggerService);
Parameters
Parameter | Type | Description |
---|---|---|
aLoggerService | LoggerService |
Home > @acoustic-content-sdk/ng-app-live > AcNgAppLiveModule > VERSION
AcNgAppLiveModule.VERSION property
Exposes the version information of this module
Signature:
VERSION: WchSdkVersion;