一键导入
ngx-inform-toasts
WCAG toasts via NgxToastService, provideNgxToastConfiguration, ngxToastOnSuccess and ngxToastOnError from @ibenvandeveire/ngx-inform.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
WCAG toasts via NgxToastService, provideNgxToastConfiguration, ngxToastOnSuccess and ngxToastOnError from @ibenvandeveire/ngx-inform.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Template directives ngxIsAuthenticated, ngxHasFeature, ngxHasPermission and impure pipes from @ibenvandeveire/ngx-authentication.
Route guards from @ibenvandeveire/ngx-authentication: NgxIsAuthenticatedGuard, NgxHasFeatureGuard, NgxHasPermissionGuard. Use with NgxAuthenticatedRoute data.
NgxAuthenticatedHttpClient and provideNgxAuthenticationConfiguration httpClientConfiguration. Use for base URL, withCredentials, authenticated interceptors, and download helper.
NgxAuthenticationAbstractService state: user$, session$, metadata$, hasFeature, hasPermission, global features. Use after provideNgxAuthenticationConfiguration.
Bootstrap @ibenvandeveire/ngx-authentication with provideNgxAuthenticationConfiguration and NgxAuthenticationAbstractService. Use when wiring sign-in/out and auth types.
Angular wrapper for CookieConsent V3 and cookie helpers from @ibenvandeveire/ngx-cookies. Use for setupCookiesHandler, consent observables, set/get/remove cookie, or *hasCookie directive.
| name | ngx-inform-toasts |
| description | WCAG toasts via NgxToastService, provideNgxToastConfiguration, ngxToastOnSuccess and ngxToastOnError from @ibenvandeveire/ngx-inform. |
Install: npm install @ibenvandeveire/ngx-inform. A11y setup required — missing config throws.
provideNgxToastConfiguration({
component: ToastComponent, // extends NgxToastComponent
position: 'top-right',
maxAmount: { strategy: 'wait', amount: 5 },
// autoClose, maxTime (min 5000ms), animationTime
}),
maxAmount strategies: ignore | wait | bundle (bundler component for hidden count).
Add NgxToastContainerComponent at app root (recommended).
{ text, data?, configuration? } — per-toast overrides; hasPriority: true prepends queue.
Require injection context or pass NgxToastService as 2nd arg:
ngxToastOnSuccess(message, toastService) — emit on next, forward valuengxToastOnError(message, toastService) — toast on error, rethrowNgxToastServiceMock.