← 输入框|github.com|刷新
Skip to content

[Feat]: Raise event on module loading done #483

Description

@GeXiaoguo

Is your feature request related to a problem? Please describe.
I rely on imported modules to handle authentication. Since module loading is parallel to page loading, I cannot authenticate the use in the PageLoaded handler. The error I get is "myAuthModule.AuthenticateUserIfNeeded() is not a function"

Describe the solution you'd like
Raise a ModuleLoanded event to trigger code execution

Describe alternatives you've considered
As a workaround, I am using a timer to keep trying until the module is loaded.

Additional context
n.a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ComponentsEnhancement

Projects

  • Status
    📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions