Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LoaderUtils

An object with several loader utility functions.

Hierarchy

  • LoaderUtils

Index

Methods

decodeText

  • decodeText(array: BufferSource): string

extractUrlBase

  • extractUrlBase(url: string): string

resolveURL

  • resolveURL(url: string, path: string): string
  • Resolves relative urls against the given path. Absolute paths, data urls, and blob urls will be returned as is. Invalid urls will return an empty string.

    Parameters

    • url: string

      The absolute or relative url resolve.

    • path: string

      The base path for relative urls to be resolved against.

    Returns string

Generated using TypeDoc