@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
11 lines (10 loc) • 338 B
TypeScript
/**
* Generates a deterministic, page-unique ID for a component.
* Pattern: `k-{prefix}-{n}` where n increments per prefix.
*
* @example
* nextId('tooltip') // 'k-tooltip-1'
* nextId('tooltip') // 'k-tooltip-2'
* nextId('notification') // 'k-notification-1'
*/
export declare function nextId(prefix: string): string;