Skip to content

Commit

Permalink
add token getter and setter
Browse files Browse the repository at this point in the history
  • Loading branch information
spearwolf committed Jul 4, 2024
1 parent bfe82e7 commit 60ddb87
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/shadow-ents/src/elements/ShaeEntElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ export class ShaeEntElement extends ShaeElement {
return this.viewComponent$.value;
}

get token(): string | undefined {
return this.token$.value;
}

set token(token: string | undefined) {
this.token$.set(token);
}

entParentNode?: ShaeEntElement;

constructor() {
Expand Down

0 comments on commit 60ddb87

Please sign in to comment.