GeoLeaf Core API - v3.19.0
    Preparing search index...

    Function whenAppReady

    • Runs listener once the application is ready: at once when geoleaf:app:ready has already been dispatched for this boot, otherwise on that event, a single time.

      The listener is added as given, so a caller that detaches it with document.removeEventListener("geoleaf:app:ready", listener) keeps working.

      Parameters

      • listener: () => void

        What to run when the application is ready.

      Returns void