Skip to content

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

@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

Projects

Status

📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy