Skip to content

Commit

Permalink
Set class on html-element in app wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Heiner Pöpping committed Dec 19, 2024
1 parent 466ade2 commit f40c886
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wrapper/AppWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,8 @@ export class AppWrapper implements IChaynsReact {
async init() {
this.values = this.mapOldApiToNew(await this.appCall(18));

document.documentElement.classList.add('chayns-api--app');

this.appCall(66, {
enabled: true,
}, {
Expand Down

0 comments on commit f40c886

Please sign in to comment.