@blackbaud/help-client

中文文档
3.1.1发布于 2022/05/04MITESM + CJS零依赖近 30 天下载 2015

Provides a client-side library for interacting with the Help Widget.

原始使用文档
文档目录3 节
  1. SKYUX usage
  2. Menu mode
  3. Legacy mode

@blackbaud/help-client

npm status

Provides a client-side library for interacting with the Help Widget. This module is a dependency of @skyux-sdk/builder and @blackbaud/skyux-lib-help.

SKYUX usage

{
  "help": {
    "helpMode": "menu"
  }
}
// inside a consumer's typescript code
BBHELP.HelpWidget.open('foo.html');

See help-config.ts for more configuration properties.

Menu mode

When helpMode is menu, the expectation is that @blackbaud-internal/skyux-spa-omnibar will control the omnipresent trigger, not help-client. As a result, help-client will not display any visual elements for triggering the widget. The omnibar will build out visual elements in a menu design instead. Any usage of BBHELP.HelpWidget#open will result in opening the topic in a new tab.

menu is the recommended mode for any consumers.

Legacy mode

When helpMode is legacy, help-client adds a trigger to the DOM that is meant to mimic @blackbaud-internal/skyux-spa-omnibar and places an omnipresent trigger on top of the omnibar. All usages of BBHELP.HelpWidget will expand that trigger to display the desired topic in a help widget.

版本与发布记录

@blackbaud/help-client 共发布 50 个版本,首次发布于 2017/05/03;过去 12 个月发布了 0 个版本。

版本发布日期距今
3.1.1latest2022/05/044 年前
3.1.02022/04/264 年前
3.0.12021/09/115 年前
3.0.1-rc.22next2021/08/185 年前
3.0.1-rc.212021/08/185 年前
3.0.1-rc.202021/08/185 年前

关于 @blackbaud/help-client 的常见问题

@blackbaud/help-client 是什么?

Provides a client-side library for interacting with the Help Widget.

如何安装 @blackbaud/help-client?

在项目目录运行 npm install @blackbaud/help-client,或使用 pnpm add / yarn add / bun add。

@blackbaud/help-client 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/blackbaud__help-client 是否存在。

@blackbaud/help-client 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@blackbaud/help-client 可以商用吗?

@blackbaud/help-client 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@blackbaud/help-client 的下载量有多少?

根据 npm 官方下载统计,@blackbaud/help-client 在 2026/10/09 – 2026/11/07 这 30 天内被下载 2,015 次,日均约 67 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@blackbaud/help-client 还在维护吗?

最新版本 3.1.1 发布于 2022/05/04(4 年前);至今共发布 50 个版本,其中过去 12 个月发布了 0 个;首次发布于 2017/05/03。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。