Updated to PixiJS v5.
This commit is contained in:
+2
-2
@@ -7,8 +7,8 @@ import Events from '../events.js'
|
||||
* Class that represents a PixiJS List.
|
||||
*
|
||||
* @example
|
||||
* const elephant1 = PIXI.Sprite.fromImage('./assets/elephant-1.jpg')
|
||||
* const elephant2 = PIXI.Sprite.fromImage('./assets/elephant-2.jpg')
|
||||
* const elephant1 = PIXI.Sprite.from('./assets/elephant-1.jpg')
|
||||
* const elephant2 = PIXI.Sprite.from('./assets/elephant-2.jpg')
|
||||
*
|
||||
* // Create the list
|
||||
* const list = new List([elephant1, elephant2])
|
||||
|
||||
Reference in New Issue
Block a user