为实时模式引入应用程序依赖项的模块。
Table of Contents
General Concepts
Acoustic Content 上的应用程序可以在预览模式和实时模式下运行。 在预览模式下,它们增强了内联编辑功能并针对内联编辑体验进行了优化,在实时模式下,它们以针对大小和性能优化的只读模式运行。
运行时行为的差异是通过使用不同的依赖提供者为应用程序所依赖的服务构建应用程序两次来实现的。
预览模式的提供程序由 ng-app-preview
模块提供,实时模式的提供程序由 ng-app-live
模块提供,适用于两种模式的通用提供程序由ng-app-base
模块。
首页 @acoustic-content-sdk/ng-app
ng-app package
容器模块用于为 ng-app-live、ng-app-preview 和 ng-app-base 引入一致的依赖项。
Variables
Home > @acoustic-content-sdk/ng-app > DEPENDENCIES
DEPENDENCIES variable
Signature:
DEPENDENCIES: string[]
Home > ; @acoustic-content-sdk/ng-app > VERSION
VERSION variable
软件包的版本和构建号
签名:
VERSION: {
version: {
major: string;
minor: string;
patch: string;
branch: string;
};
build: Date;
}
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
ng-app package
Container module used to pull in consistent dependencies for ng-app-live, ng-app-preview and ng-app-base.
Variables
Home > @acoustic-content-sdk/ng-app > DEPENDENCIES
DEPENDENCIES variable
Signature:
DEPENDENCIES: string[]
Home > @acoustic-content-sdk/ng-app > VERSION
VERSION variable
Version and build number of the package
Signature:
VERSION: {
version: {
major: string;
minor: string;
patch: string;
branch: string;
};
build: Date;
}