ILoaderPlugin

interface ILoaderPlugin

Plugin to be installed for handling specific Loader resources.

Summary


Properties from ILoaderPlugin

Function
add
Function
pre
Function
use

Methods from ILoaderPlugin

void
add()

Function to call immediate after registering plugin.

void
pre(resource: LoaderResource, next: LoaderResource)
void
use(resource: LoaderResource, next: LoaderResource)

Public Properties


add Loader.ts:734
add: Function

Function to call immediate after registering plugin.

pre Loader.ts:734
pre: Function

Middleware function to run before load, the arguments for this are (resource, next)

use Loader.ts:734
use: Function

Middleware function to run after load, the arguments for this are (resource, next)

Public Methods


add Loader.ts:744
add() → {void}

Function to call immediate after registering plugin.

Returns:
Type Description
void
pre Loader.ts:747
pre(resource: LoaderResource, next: LoaderResource) → {void}

Middleware function to run before load

Parameters:
Name Type Description
resource LoaderResource

resource

next LoaderResource

next middleware

Returns:
Type Description
void
use Loader.ts:754
use(resource: LoaderResource, next: LoaderResource) → {void}

Middleware function to run after load

Parameters:
Name Type Description
resource LoaderResource

resource

next LoaderResource

next middleware

Returns:
Type Description
void

Powered by webdoc!