Options for the initializeCollection() function.

interface InitializeCollectionOptions {
    onInitializeWarning?: EventCallback<InitializeWarningEvent>;
    target?: InitializableBase<InitializableBaseProperties>;
}

Properties

onInitializeWarning?: EventCallback<InitializeWarningEvent>

An event callback for handling errors thrown by collection items with failureMode "warn".

The target to include in the InitializeWarningEvent.