@acoustic-content-sdk/ng-redux 中文文档教程

发布于 4年前 浏览 12 更新于 3年前

npm

基于 Redux 的 Angular 提供程序的实现。

Table of Contents

fgt;f463 @acoustic-content-sdk/ng-redux

ng-redux package

基于 Redux 的 Angular 提供程序的实现。

Classes

ClassDescription
AcNgParentFrameReduxStoreModuleModule 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
AcNgReduxModuleModule that provides the SDK services based on a redux store implementation.Depends on: ACOUSTIC_TOKEN_REDUX_STORE
AcNgReduxPageModule
AcNgReduxSiteModule
AcNgReduxStoreModule
AcNgReduxTypeModule
AcNgReduxUrlConfigModule
AcNgReduxWchConfigModule

Functions

FunctionDescription
createStore(msgService, aLogSvc)
proxyCreateUrlConfig(aStore)
proxyCreateWchConfig(aStore)

Variables

VariableDescription
VERSIONVersion 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

ConstructorModifiersDescription
(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

PropertyModifiersTypeDescription
VERSIONWchSdkVersionExposes 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

ConstructorModifiersDescription
(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

ParameterTypeDescription
msgServiceMessageService
aLogSvcLoggerService

Returns:

ReduxRootStore

主页 > @acoustic-content-sdk/ng-redux > proxyCreateUrlConfig

proxyCreateUrlConfig() function

Signature:

export declare function proxyCreateUrlConfig(aStore: Store<ReduxRootState>): Observable<UrlConfig>;

Parameters

ParameterTypeDescription
aStoreStore&lt;ReduxRootState&gt;

Returns:

Observable

首页 > @acoustic-content-sdk/ng-redux > proxyCreateWchConfig

proxyCreateWchConfig() function

Signature:

export declare function proxyCreateWchConfig(aStore: Store<ReduxRootState>): Observable<WchConfig>;

Parameters

ParameterTypeDescription
aStoreStore&lt;ReduxRootState&gt;

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

ParameterTypeDescription
pageSelectionServicePageSelectionService
aLogSvcLoggerService

主页 > @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

ParameterTypeDescription
pageSelectionServicePageSelectionService

npm

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

ClassDescription
AcNgParentFrameReduxStoreModuleModule 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
AcNgReduxModuleModule that provides the SDK services based on a redux store implementation.Depends on: ACOUSTIC_TOKEN_REDUX_STORE
AcNgReduxPageModule
AcNgReduxSiteModule
AcNgReduxStoreModule
AcNgReduxTypeModule
AcNgReduxUrlConfigModule
AcNgReduxWchConfigModule

Functions

FunctionDescription
createStore(msgService, aLogSvc)
proxyCreateUrlConfig(aStore)
proxyCreateWchConfig(aStore)

Variables

VariableDescription
VERSIONVersion 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

ConstructorModifiersDescription
(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

PropertyModifiersTypeDescription
VERSIONWchSdkVersionExposes 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

ConstructorModifiersDescription
(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

ParameterTypeDescription
msgServiceMessageService
aLogSvcLoggerService

Returns:

ReduxRootStore

Home > @acoustic-content-sdk/ng-redux > proxyCreateUrlConfig

proxyCreateUrlConfig() function

Signature:

export declare function proxyCreateUrlConfig(aStore: Store<ReduxRootState>): Observable<UrlConfig>;

Parameters

ParameterTypeDescription
aStoreStore&lt;ReduxRootState&gt;

Returns:

Observable<UrlConfig>

Home > @acoustic-content-sdk/ng-redux > proxyCreateWchConfig

proxyCreateWchConfig() function

Signature:

export declare function proxyCreateWchConfig(aStore: Store<ReduxRootState>): Observable<WchConfig>;

Parameters

ParameterTypeDescription
aStoreStore&lt;ReduxRootState&gt;

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

ParameterTypeDescription
pageSelectionServicePageSelectionService
aLogSvcLoggerService

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

ParameterTypeDescription
pageSelectionServicePageSelectionService
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文