Axinom Mosaic Libraries
    Preparing search index...

    Interface ExplorerDataProvider<T>

    interface ExplorerDataProvider<T extends Data> {
        connect?: (
            connection: ExplorerDataProviderConnection<T>,
        ) => void | (() => void);
        loadData: (
            config: ExplorerDataProviderConfiguration<T>,
        ) => Promise<DataProviderResults<T>>;
    }

    Type Parameters

    Index

    Properties

    Properties

    connect?: (connection: ExplorerDataProviderConnection<T>) => void | (() => void)
    loadData: (
        config: ExplorerDataProviderConfiguration<T>,
    ) => Promise<DataProviderResults<T>>

    Called when the Explorer requests new data. The details about the request (page, filter, sorting) are sent as parameter to that method.