@acoustic-content-sdk/redux-feature-handlebars 中文文档教程
主页首页 @acoustic-content-sdk/redux-feature-handlebars
redux-feature-handlebars package
Functions
Function | Description |
---|---|
isValidHandlebarsTemplateState(aState) | Checks if a template state is valid |
Interfaces
Interface | Description |
---|---|
HandlebarsAddTemplatePayload | |
HandlebarsFeatureState | |
HandlebarsSetErrorPayload | |
HandlebarsSetTemplatePayload | |
HandlebarsTemplateState |
Variables
Variable | Description |
---|---|
ACTION_HANDLEBARS_ADD_TEMPLATE | |
ACTION_HANDLEBARS_GUARANTEE_TEMPLATE | |
ACTION_HANDLEBARS_LOAD_TEMPLATE | |
ACTION_HANDLEBARS_SET_ERROR | |
ACTION_HANDLEBARS_SET_TEMPLATE | Do not add a side effect to this action |
HANDLEBARS_FEATURE | |
handlebarsAddTemplateAction | |
handlebarsFeature | Exposes the feature module selector |
handlebarsFeatureReducer | |
handlebarsGuaranteeTemplateAction | |
handlebarsLoadTemplateAction | |
handlebarsSetErrorAction | |
handlebarsSetTemplateAction | |
selectHandlebarsFeature | Select the handlebars feature |
selectTemplate | Selects the pre-compiled handlebars template based on the key or returns undefined. |
VERSION | Version and build number of the package |
Type Aliases
< a href="#_d7a4274e9141e43bf2d643c6c67d6e3031d502500d922845009b634cf023e058">主页 > @acoustic-content-sdk/redux-feature-handlebars > isValidHandlebarsTemplateState
isValidHandlebarsTemplateState() function
检查模板状态是否有效
签名:
export declare function isValidHandlebarsTemplateState(aState: HandlebarsTemplateState): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
aState | HandlebarsTemplateState |
the template state |
返回:
boolean
如果state is valid, else false
Home > @acoustic-content-sdk/redux-feature-handlebars > HandlebarsAddTemplatePayload
HandlebarsAddTemplatePayload interface
Signature:
export interface HandlebarsAddTemplatePayload
Properties
Property | Type | Description |
---|---|---|
key | HandlebarsKey |
|
stringTemplate | string |
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsFeatureState
HandlebarsFeatureState interface
Signature:
export interface HandlebarsFeatureState
Properties
Property | Type | Description |
---|---|---|
handlebars | HandlebarsState |
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsSetErrorPayload
HandlebarsSetErrorPayload interface
Signature:
export interface HandlebarsSetErrorPayload
Properties
Property | Type | Description |
---|---|---|
error | Error |
|
key | HandlebarsKey |
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsSetTemplatePayload
HandlebarsSetTemplatePayload interface
Signature:
export interface HandlebarsSetTemplatePayload
Properties
Property | Type | Description |
---|---|---|
compiledTemplate | HandlebarsProcessor |
|
key | HandlebarsKey |
|
stringTemplate | string |
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsTemplateState
HandlebarsTemplateState interface
Signature:
export interface HandlebarsTemplateState
Properties
Property | Type | Description |
---|---|---|
compiledTemplate | HandlebarsProcessor |
|
error | Error |
|
stringTemplate | string |
Home > ; @acoustic-content-sdk/redux-feature-handlebars > ACTION_HANDLEBARS_ADD_TEMPLATE
ACTION_HANDLEBARS_ADD_TEMPLATE variable
Signature:
ACTION_HANDLEBARS_ADD_TEMPLATE = "ACTION_HANDLEBARS_ADD_TEMPLATE"
Home > ; @acoustic-content-sdk/redux-feature-handlebars > ACTION_HANDLEBARS_GUARANTEE_TEMPLATE
ACTION_HANDLEBARS_GUARANTEE_TEMPLATE variable
Signature:
ACTION_HANDLEBARS_GUARANTEE_TEMPLATE = "ACTION_HANDLEBARS_GUARANTEE_TEMPLATE"
Home > ; @acoustic-content-sdk/redux-feature-handlebars > ACTION_HANDLEBARS_LOAD_TEMPLATE
ACTION_HANDLEBARS_LOAD_TEMPLATE variable
Signature:
ACTION_HANDLEBARS_LOAD_TEMPLATE = "ACTION_HANDLEBARS_LOAD_TEMPLATE"
Home > ; @acoustic-content-sdk/redux-feature-handlebars > ACTION_HANDLEBARS_SET_ERROR
ACTION_HANDLEBARS_SET_ERROR variable
Signature:
ACTION_HANDLEBARS_SET_ERROR = "ACTION_HANDLEBARS_SET_ERROR"
Home > ; @acoustic-content-sdk/redux-feature-handlebars > ACTION_HANDLEBARS_SET_TEMPLATE
ACTION_HANDLEBARS_SET_TEMPLATE variable
Do not add a side effect to this action
Signature:
ACTION_HANDLEBARS_SET_TEMPLATE = "ACTION_HANDLEBARS_SET_TEMPLATE"
主页 > @acoustic-content-sdk/redux-feature-handlebars >
HANDLEBARS_FEATURE variable
HANDLEBARS_FEATURE Signature:
HANDLEBARS_FEATURE = "handlebars"
Home > ; @acoustic-content-sdk/redux-feature-handlebars > handlebarsAddTemplateAction
handlebarsAddTemplateAction variable
Signature:
handlebarsAddTemplateAction: UnaryFunction<HandlebarsAddTemplatePayload, HandlebarsAddTemplateAction>
Home > ; @acoustic-content-sdk/redux-feature-handlebars > handlebarsFeature
handlebarsFeature variable
Exposes the feature module selector
Signature:
handlebarsFeature: import("@acoustic-content-sdk/redux-store").ReduxFeatureModule<Record<string, import("./handlebars.state").HandlebarsTemplateState>, HandlebarsFeatureState, import("redux").AnyAction, import("redux").AnyAction, any>
Home > @acoustic-content-sdk/redux-feature-handlebars > handlebarsFeatureReducer
handlebarsFeatureReducer variable
Signature:
handlebarsFeatureReducer: {
handlebars: import("redux").Reducer<Record<string, import("./handlebars.state").HandlebarsTemplateState>, import("./handlebars.actions").HandlebarsSetErrorAction | import("./handlebars.actions").HandlebarsSetTemplateAction>;
}
Home > ; @acoustic-content-sdk/redux-feature-handlebars > handlebarsGuaranteeTemplateAction
handlebarsGuaranteeTemplateAction variable
Signature:
handlebarsGuaranteeTemplateAction: UnaryFunction<HandlebarsKey, HandlebarsGuaranteeTemplateAction>
Home > ; @acoustic-content-sdk/redux-feature-handlebars > handlebarsLoadTemplateAction
handlebarsLoadTemplateAction variable
Signature:
handlebarsLoadTemplateAction: UnaryFunction<HandlebarsKey, HandlebarsLoadTemplateAction>
Home > ; @acoustic-content-sdk/redux-feature-handlebars > handlebarsSetErrorAction
handlebarsSetErrorAction variable
Signature:
handlebarsSetErrorAction: UnaryFunction<HandlebarsSetErrorPayload, HandlebarsSetErrorAction>
Home > ; @acoustic-content-sdk/redux-feature-handlebars > handlebarsSetTemplateAction
handlebarsSetTemplateAction variable
Signature:
handlebarsSetTemplateAction: UnaryFunction<HandlebarsSetTemplatePayload, HandlebarsSetTemplateAction>
Home > ; @acoustic-content-sdk/redux-feature-handlebars > selectHandlebarsFeature
selectHandlebarsFeature variable
Select the handlebars feature
Signature:
selectHandlebarsFeature: import("rxjs").UnaryFunction<Record<string, any>, Record<string, import("./handlebars.state").HandlebarsTemplateState>>
Home< /a> > @acoustic-content-sdk/redux-feature-handlebars > selectTemplate
selectTemplate variable
根据key选择预编译的handlebars模板,否则返回undefined。
Signature:
selectTemplate: (aKey: string) => (aState: Record<string, HandlebarsTemplateState>) => HandlebarsProcessor
Home > @acoustic-content-sdk/redux-feature-handlebars > 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/redux-feature-handlebars > HandlebarsActions
HandlebarsActions type
Signature:
export declare type HandlebarsActions = HandlebarsSetTemplateAction | HandlebarsSetErrorAction;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsActionsPayload
HandlebarsActionsPayload type
Signature:
export declare type HandlebarsActionsPayload = HandlebarsSetTemplatePayload | HandlebarsSetErrorPayload;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsCompiler
HandlebarsCompiler type
Signature:
export declare type HandlebarsCompiler = (input: string) => HandlebarsProcessor;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsKey
HandlebarsKey type
Signature:
export declare type HandlebarsKey = string;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsProcessor
HandlebarsProcessor type
Signature:
export declare type HandlebarsProcessor = (aContext: any) => string;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsState
HandlebarsState type
Signature:
export declare type HandlebarsState = Record<HandlebarsKey, HandlebarsTemplateState>;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsAddTemplatePayload > key
HandlebarsAddTemplatePayload.key property
Signature:
key: HandlebarsKey;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsAddTemplatePayload > stringTemplate
HandlebarsAddTemplatePayload.stringTemplate property
Signature:
stringTemplate: string;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsTemplateState > compiledTemplate
HandlebarsTemplateState.compiledTemplate property
Signature:
compiledTemplate?: HandlebarsProcessor;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsTemplateState > error
HandlebarsTemplateState.error property
Signature:
error?: Error;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsTemplateState > stringTemplate
HandlebarsTemplateState.stringTemplate property
Signature:
stringTemplate?: string;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > 车把特征状态 > handlebars
HandlebarsFeatureState.handlebars property
Signature:
[HANDLEBARS_FEATURE]: HandlebarsState;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsSetErrorPayload > error
HandlebarsSetErrorPayload.error property
Signature:
error: Error;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsSetErrorPayload > key
HandlebarsSetErrorPayload.key property
Signature:
key: HandlebarsKey;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsSetTemplatePayload > compiledTemplate
HandlebarsSetTemplatePayload.compiledTemplate property
Signature:
compiledTemplate: HandlebarsProcessor;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsSetTemplatePayload > key
HandlebarsSetTemplatePayload.key property
Signature:
key: HandlebarsKey;
Home > ; @acoustic-content-sdk/redux-feature-handlebars > HandlebarsSetTemplatePayload > 字符串模板
HandlebarsSetTemplatePayload.stringTemplate property
签名:
stringTemplate: string;
你可能也喜欢
- 75l 中文文档教程
- @0xcert/wanchain-gateway 中文文档教程
- @128technology/yinz-json 中文文档教程
- @1stquad/swagger-typescript-codegen 中文文档教程
- @2600hz/commio-native-utilities 中文文档教程
- @36node/swagen 中文文档教程
- @3cplus/3cplusv2-sdk 中文文档教程
- @42.nl/ui-core-pagination 中文文档教程
- @5280-giving/lcu-giving-common 中文文档教程
- @5e7en/dank-twitch-irc 中文文档教程