govuk-frontend
    Preparing search index...

    Interface CreateAllOptions<ComponentClass>

    interface CreateAllOptions<ComponentClass extends CompatibleClass> {
        onError?: OnErrorCallback<ComponentClass>;
        scope?: Document | Element;
    }

    Type Parameters

    Index

    Properties

    Properties

    callback function if error throw by component on init

    scope?: Document | Element

    scope of the document to search within