@acoustic-content-sdk/ng-redux 中文文档教程
基于 Redux 的 Angular 提供程序的实现。
Table of Contents
fgt;f463 @acoustic-content-sdk/ng-redux
ng-redux package
基于 Redux 的 Angular 提供程序的实现。
Classes
Class | Description |
---|---|
AcNgParentFrameReduxStoreModule | Module that exposes an implementation of ACOUSTIC_TOKEN_REDUX_STORE . The implementation accesses the store from the parent iframe. Prerequisite is that the parent (the shell) and the application that uses this module run on the same origin.Depends on: ACOUSTIC_TOKEN_EDIT_HOST_WINDOW |
AcNgReduxAuthStatusModule | |
AcNgReduxContentModule | |
AcNgReduxFetchTextModule | |
AcNgReduxHbsModule | |
AcNgReduxLayoutMappingModule | |
AcNgReduxLayoutModule | |
AcNgReduxModule | Module that provides the SDK services based on a redux store implementation.Depends on: ACOUSTIC_TOKEN_REDUX_STORE |
AcNgReduxPageModule | |
AcNgReduxSiteModule | |
AcNgReduxStoreModule | |
AcNgReduxTypeModule | |
AcNgReduxUrlConfigModule | |
AcNgReduxWchConfigModule |
Functions
Function | Description |
---|---|
createStore(msgService, aLogSvc) | |
proxyCreateUrlConfig(aStore) | |
proxyCreateWchConfig(aStore) |
Variables
Variable | Description |
---|---|
VERSION | Version and build number of the package |
Home > @acoustic-content-sdk/ng-redux > AcNgParentFrameReduxStoreModule
AcNgParentFrameReduxStoreModule class
公开ACOUSTIC_TOKEN_REDUX_STORE
实现的模块。 该实现从父 iframe 访问商店。 先决条件是父级(shell)和使用该模块的应用程序在同一个源上运行。
Depends on: ACOUSTIC_TOKEN_EDIT_HOST_WINDOW
Signature:
export declare class AcNgParentFrameReduxStoreModule
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(pageSelectionService, aLogSvc) | Constructs a new instance of the AcNgParentFrameReduxStoreModule class |
Home > @acoustic-content-sdk/ng-redux > AcNgReduxAuthStatusModule
AcNgReduxAuthStatusModule class
Signature:
export declare class AcNgReduxAuthStatusModule
Home > ; @acoustic-content-sdk/ng-redux > AcNgReduxContentModule
AcNgReduxContentModule class
Signature:
export declare class AcNgReduxContentModule
Home > ; @acoustic-content-sdk/ng-redux > AcNgReduxFetchTextModule
AcNgReduxFetchTextModule class
Signature:
export declare class AcNgReduxFetchTextModule
Home > ; @acoustic-content-sdk/ng-redux > AcNgReduxHbsModule
AcNgReduxHbsModule class
Signature:
export declare class AcNgReduxHbsModule
Home > ; @acoustic-content-sdk/ng-redux > AcNgReduxLayoutMappingModule
AcNgReduxLayoutMappingModule class
Signature:
export declare class AcNgReduxLayoutMappingModule
Home > ; @acoustic-content-sdk/ng-redux > AcNgReduxLayoutModule
AcNgReduxLayoutModule class
Signature:
export declare class AcNgReduxLayoutModule
Home > ; @acoustic-content-sdk/ng-redux > AcNgReduxModule
AcNgReduxModule class
提供基于 redux 存储实现的 SDK 服务的模块。
Depends on: ACOUSTIC_TOKEN_REDUX_STORE
Signature:
export declare class AcNgReduxModule
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
VERSION | WchSdkVersion | Exposes the version information of this module |
Home > @acoustic-content-sdk/ng-redux > AcNgReduxPageModule
AcNgReduxPageModule class
Signature:
export declare class AcNgReduxPageModule
Home > ; @acoustic-content-sdk/ng-redux > AcNgReduxSiteModule
AcNgReduxSiteModule class
Signature:
export declare class AcNgReduxSiteModule
Home > ; @acoustic-content-sdk/ng-redux > AcNgReduxStoreModule
AcNgReduxStoreModule class
Signature:
export declare class AcNgReduxStoreModule
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(pageSelectionService) | Constructs a new instance of the AcNgReduxStoreModule class |
Home > ; @acoustic-content-sdk/ng-redux > AcNgReduxTypeModule
AcNgReduxTypeModule class
Signature:
export declare class AcNgReduxTypeModule
Home > ; @acoustic-content-sdk/ng-redux > AcNgReduxUrlConfigModule
AcNgReduxUrlConfigModule class
Signature:
export declare class AcNgReduxUrlConfigModule
Home > ; @acoustic-content-sdk/ng-redux > AcNgReduxWchConfigModule
AcNgReduxWchConfigModule class
Signature:
export declare class AcNgReduxWchConfigModule
Home > ; @acoustic-content-sdk/ng-redux > createStore
createStore() function
Signature:
export declare function createStore(msgService: MessageService, aLogSvc?: LoggerService): ReduxRootStore;
Parameters
Parameter | Type | Description |
---|---|---|
msgService | MessageService | |
aLogSvc | LoggerService |
Returns:
ReduxRootStore
主页 > @acoustic-content-sdk/ng-redux > proxyCreateUrlConfig
proxyCreateUrlConfig() function
Signature:
export declare function proxyCreateUrlConfig(aStore: Store<ReduxRootState>): Observable<UrlConfig>;
Parameters
Parameter | Type | Description |
---|---|---|
aStore | Store<ReduxRootState> |
Returns:
Observable
首页 > @acoustic-content-sdk/ng-redux > proxyCreateWchConfig
proxyCreateWchConfig() function
Signature:
export declare function proxyCreateWchConfig(aStore: Store<ReduxRootState>): Observable<WchConfig>;
Parameters
Parameter | Type | Description |
---|---|---|
aStore | Store<ReduxRootState> |
Returns:
Observable
首页 > @acoustic-content-sdk/ng-redux > VERSION
VERSION variable
Version and build number of the package
Signature:
VERSION: {
version: {
major: string;
minor: string;
patch: string;
branch: string;
};
build: Date;
}
首页 > @acoustic-content-sdk/ng-redux > AcNgParentFrameReduxStoreModule > (constructor)
AcNgParentFrameReduxStoreModule.(constructor)
Constructs a new instance of the AcNgParentFrameReduxStoreModule
class
Signature:
constructor(pageSelectionService: PageSelectionService, aLogSvc: LoggerService);
Parameters
Parameter | Type | Description |
---|---|---|
pageSelectionService | PageSelectionService | |
aLogSvc | LoggerService |
主页 > @acoustic-content-sdk/ng-redux > AcNgReduxModule > VERSION
AcNgReduxModule.VERSION property
Exposes the version information of this module
Signature:
VERSION: WchSdkVersion;
首页 > @acoustic-content-sdk/ng-redux > AcNgReduxStoreModule > (构造函数)
AcNgReduxStoreModule.(constructor)
构造 AcNgReduxStoreModule
类的新实例
签名:
constructor(pageSelectionService: PageSelectionService);
Parameters
Parameter | Type | Description |
---|---|---|
pageSelectionService | PageSelectionService |
mplementation of Angular providers based on Redux.
Table of Contents
Home > @acoustic-content-sdk/ng-redux
ng-redux package
Implementation of Angular providers based on Redux.
Classes
Class | Description |
---|---|
AcNgParentFrameReduxStoreModule | Module that exposes an implementation of ACOUSTIC_TOKEN_REDUX_STORE . The implementation accesses the store from the parent iframe. Prerequisite is that the parent (the shell) and the application that uses this module run on the same origin.Depends on: ACOUSTIC_TOKEN_EDIT_HOST_WINDOW |
AcNgReduxAuthStatusModule | |
AcNgReduxContentModule | |
AcNgReduxFetchTextModule | |
AcNgReduxHbsModule | |
AcNgReduxLayoutMappingModule | |
AcNgReduxLayoutModule | |
AcNgReduxModule | Module that provides the SDK services based on a redux store implementation.Depends on: ACOUSTIC_TOKEN_REDUX_STORE |
AcNgReduxPageModule | |
AcNgReduxSiteModule | |
AcNgReduxStoreModule | |
AcNgReduxTypeModule | |
AcNgReduxUrlConfigModule | |
AcNgReduxWchConfigModule |
Functions
Function | Description |
---|---|
createStore(msgService, aLogSvc) | |
proxyCreateUrlConfig(aStore) | |
proxyCreateWchConfig(aStore) |
Variables
Variable | Description |
---|---|
VERSION | Version and build number of the package |
Home > @acoustic-content-sdk/ng-redux > AcNgParentFrameReduxStoreModule
AcNgParentFrameReduxStoreModule class
Module that exposes an implementation of ACOUSTIC_TOKEN_REDUX_STORE
. The implementation accesses the store from the parent iframe. Prerequisite is that the parent (the shell) and the application that uses this module run on the same origin.
Depends on: ACOUSTIC_TOKEN_EDIT_HOST_WINDOW
Signature:
export declare class AcNgParentFrameReduxStoreModule
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(pageSelectionService, aLogSvc) | Constructs a new instance of the AcNgParentFrameReduxStoreModule class |
Home > @acoustic-content-sdk/ng-redux > AcNgReduxAuthStatusModule
AcNgReduxAuthStatusModule class
Signature:
export declare class AcNgReduxAuthStatusModule
Home > @acoustic-content-sdk/ng-redux > AcNgReduxContentModule
AcNgReduxContentModule class
Signature:
export declare class AcNgReduxContentModule
Home > @acoustic-content-sdk/ng-redux > AcNgReduxFetchTextModule
AcNgReduxFetchTextModule class
Signature:
export declare class AcNgReduxFetchTextModule
Home > @acoustic-content-sdk/ng-redux > AcNgReduxHbsModule
AcNgReduxHbsModule class
Signature:
export declare class AcNgReduxHbsModule
Home > @acoustic-content-sdk/ng-redux > AcNgReduxLayoutMappingModule
AcNgReduxLayoutMappingModule class
Signature:
export declare class AcNgReduxLayoutMappingModule
Home > @acoustic-content-sdk/ng-redux > AcNgReduxLayoutModule
AcNgReduxLayoutModule class
Signature:
export declare class AcNgReduxLayoutModule
Home > @acoustic-content-sdk/ng-redux > AcNgReduxModule
AcNgReduxModule class
Module that provides the SDK services based on a redux store implementation.
Depends on: ACOUSTIC_TOKEN_REDUX_STORE
Signature:
export declare class AcNgReduxModule
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
VERSION | WchSdkVersion | Exposes the version information of this module |
Home > @acoustic-content-sdk/ng-redux > AcNgReduxPageModule
AcNgReduxPageModule class
Signature:
export declare class AcNgReduxPageModule
Home > @acoustic-content-sdk/ng-redux > AcNgReduxSiteModule
AcNgReduxSiteModule class
Signature:
export declare class AcNgReduxSiteModule
Home > @acoustic-content-sdk/ng-redux > AcNgReduxStoreModule
AcNgReduxStoreModule class
Signature:
export declare class AcNgReduxStoreModule
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(pageSelectionService) | Constructs a new instance of the AcNgReduxStoreModule class |
Home > @acoustic-content-sdk/ng-redux > AcNgReduxTypeModule
AcNgReduxTypeModule class
Signature:
export declare class AcNgReduxTypeModule
Home > @acoustic-content-sdk/ng-redux > AcNgReduxUrlConfigModule
AcNgReduxUrlConfigModule class
Signature:
export declare class AcNgReduxUrlConfigModule
Home > @acoustic-content-sdk/ng-redux > AcNgReduxWchConfigModule
AcNgReduxWchConfigModule class
Signature:
export declare class AcNgReduxWchConfigModule
Home > @acoustic-content-sdk/ng-redux > createStore
createStore() function
Signature:
export declare function createStore(msgService: MessageService, aLogSvc?: LoggerService): ReduxRootStore;
Parameters
Parameter | Type | Description |
---|---|---|
msgService | MessageService | |
aLogSvc | LoggerService |
Returns:
ReduxRootStore
Home > @acoustic-content-sdk/ng-redux > proxyCreateUrlConfig
proxyCreateUrlConfig() function
Signature:
export declare function proxyCreateUrlConfig(aStore: Store<ReduxRootState>): Observable<UrlConfig>;
Parameters
Parameter | Type | Description |
---|---|---|
aStore | Store<ReduxRootState> |
Returns:
Observable<UrlConfig>
Home > @acoustic-content-sdk/ng-redux > proxyCreateWchConfig
proxyCreateWchConfig() function
Signature:
export declare function proxyCreateWchConfig(aStore: Store<ReduxRootState>): Observable<WchConfig>;
Parameters
Parameter | Type | Description |
---|---|---|
aStore | Store<ReduxRootState> |
Returns:
Observable<WchConfig>
Home > @acoustic-content-sdk/ng-redux > 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-redux > AcNgParentFrameReduxStoreModule > (constructor)
AcNgParentFrameReduxStoreModule.(constructor)
Constructs a new instance of the AcNgParentFrameReduxStoreModule
class
Signature:
constructor(pageSelectionService: PageSelectionService, aLogSvc: LoggerService);
Parameters
Parameter | Type | Description |
---|---|---|
pageSelectionService | PageSelectionService | |
aLogSvc | LoggerService |
Home > @acoustic-content-sdk/ng-redux > AcNgReduxModule > VERSION
AcNgReduxModule.VERSION property
Exposes the version information of this module
Signature:
VERSION: WchSdkVersion;
Home > @acoustic-content-sdk/ng-redux > AcNgReduxStoreModule > (constructor)
AcNgReduxStoreModule.(constructor)
Constructs a new instance of the AcNgReduxStoreModule
class
Signature:
constructor(pageSelectionService: PageSelectionService);
Parameters
Parameter | Type | Description |
---|---|---|
pageSelectionService | PageSelectionService |