API Documentation for: 0.6.0
Show:

TextLoader Class

Defined in: TextLoader:41
Module: PreloadJS

A loader for Text files.

Constructor

TextLoader

(
  • loadItem
)

Defined in TextLoader:41

Parameters:

Item Index

Methods

Methods

canLoadItem

(
  • item
)
Boolean static

Defined in canLoadItem:55

Determines if the loader can load a specific item. This loader loads items that are of type TEXT, but is also the default loader if a file type can not be determined.

Parameters:

  • item LoadItem | Object

    The LoadItem that a LoadQueue is trying to load.

Returns:

Boolean:

Whether the loader can load the item.