Hierarchy

  • WcfConfig

Properties

ajaxDefaultOptions: Required<AjaxOptions>

Default options used for ajax requests.

ajaxErrorHandler?: ((pError: AjaxErrorInfo) => void)

Type declaration

    • (pError: AjaxErrorInfo): void
    • Global ajax error handler which can be used to capture and handle all ajax errors.

      Parameters

      Returns void

ajaxGetRetryDelay: ((pRetryCount: number) => number)

Type declaration

    • (pRetryCount: number): number
    • Function which returns a delay (in ms) for the next ajax retry attempt based on the retry counter. Can be overridden for custom delays. (default: 200ms * pRetryCount)

      Parameters

      • pRetryCount: number

      Returns number

ajaxRejectedEvent?: ((pRequestInfo: AjaxRequestInfo, pXhr: XMLHttpRequest, pError: Error) => void)

Type declaration

    • (pRequestInfo: AjaxRequestInfo, pXhr: XMLHttpRequest, pError: Error): void
    • Global ajax event which will be triggered for every failed ajax request.

      Parameters

      Returns void

ajaxResolvedEvent?: ((pRequestInfo: AjaxRequestInfo, pXhr: XMLHttpRequest) => void)

Type declaration

    • (pRequestInfo: AjaxRequestInfo, pXhr: XMLHttpRequest): void
    • Global ajax event which will be triggered for every successful ajax request.

      Parameters

      Returns void

articleConfigurationOptions: ArticleConfigurationOptions

Options for article configuration.

dataPath?: string

Path of the W-CF libs folder. e.g. /wcf/data/

libsPath?: string

Path of the W-CF libs folder. e.g. /wcf/libs/ Used to load additional libraries on-demand.

loadContentErrorHandler?: ((pError: LoadContentErrorInfo) => void)

Type declaration

Generated using TypeDoc