Skip to content

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

Open
@GeXiaoguo

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

Metadata

Metadata

Labels

ComponentsDedicated to Frontend Visual ComponentsEnhancementNew feature or request

Type

No type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions