refactor: prefix component ID with c (#1127)

This commit is contained in:
Juro Oravec 2025-04-14 12:01:16 +02:00 committed by GitHub
parent fc026cbd99
commit c650e7f3a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 786 additions and 746 deletions

View file

@ -25,8 +25,8 @@ Components.registerComponentData(
// we can run component's init function
Components.callComponent(
"table", // Component name
12345, // Component ID - An HTML element with corresponding
// attribute (`data-djc-id-12345`) MUST
"c123456", // Component ID - An HTML element with corresponding
// attribute (`data-djc-id-c123456`) MUST
// be present in the DOM.
"3d09cf", // Input ID
);