gitea/web_src/js/modules/aria/base.js

6 lines
106 B
JavaScript

let ariaIdCounter = 0;
export function generateAriaId() {
return `_aria_auto_id_${ariaIdCounter++}`;
}