Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Ability to chain update lifecycle #13

Open
a11delavar opened this issue May 13, 2023 · 0 comments
Open

feat: Ability to chain update lifecycle #13

a11delavar opened this issue May 13, 2023 · 0 comments
Assignees

Comments

@a11delavar
Copy link
Owner

a11delavar commented May 13, 2023

protected override async getUpdateComplete() {
    const result = await super.getUpdateComplete()
    await Promise.all([
	this.header?.updateComplete,
	this.sidePanel?.updateComplete,
	this.footer?.updateComplete,
	...this.rows.map(row => row.updateComplete),
    ])
    return result
}
@a11delavar a11delavar self-assigned this May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant