H5P NodeJS Library
    Preparing search index...
    ScanCallback: (
        semantics: ISemanticsEntry,
        params: any,
        jsonPath: string,
        parentParams: any,
    ) => boolean

    Type declaration

      • (
            semantics: ISemanticsEntry,
            params: any,
            jsonPath: string,
            parentParams: any,
        ): boolean
      • Parameters

        • semantics: ISemanticsEntry

          The semantic information about the current content params

        • params: any

          The current params

        • jsonPath: string

          The current path of the object in the tree as a JSON path (example: .media.type.path)

        • parentParams: any

          The parent element in the params tree. Can be used to delete this entry.

        Returns boolean

        true if the children of this entry should not be scanned (= abort scan for this subtree)