Skip to main content
cngx-src documentation

CNGX_PAGINATOR_ANNOUNCER_FACTORY

Tokenv0.1.0

InjectionToken<CngxPaginatorAnnouncerFactory>

Referenced by#

Description#

Swap token for the live-region announcer derivation. The default resolves to createPaginatorAnnouncer; the shell builds its announcer via inject(CNGX_PAGINATOR_ANNOUNCER_FACTORY)() rather than calling the factory directly. Override it to wrap the busy / settle / page-change derivation - a telemetry tap, politeness escalation, or custom phrasing branch - without forking the shell (mirrors CNGX_COMMIT_ERROR_ANNOUNCER_FACTORY in the select family). The override runs in the shell's injection context, so it can still inject(CNGX_PAGINATOR_HOST) / injectPaginatorConfig.

Type#

InjectionToken<CngxPaginatorAnnouncerFactory>

Provided in#

'root'