Skip to content

Commit

Permalink
Added definition
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Jan 12, 2024
1 parent c83e326 commit 415f30b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/AtomComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ export abstract class AtomComponent implements
@InheritedProperty
public localViewModel: any;

public creator: any;

protected pendingInits: Array<() => void>;

private mInvalidated: any = 0;
Expand Down Expand Up @@ -477,7 +479,7 @@ export abstract class AtomComponent implements
return this.disposables.add(d);
}

protected render(node: XNode, e: any = this.element, creator: any = (this as any).creator || this): void {
protected render(node: XNode, e: any = this.element, creator: any = this.creator || this): void {

const app = this.app;

Expand Down

0 comments on commit 415f30b

Please sign in to comment.