Class: UIListBaseItem

PhaserComps.UIComponents. UIListBaseItem

Base class for UIList component renderer. Extend it to create custom list items renderers.


new UIListBaseItem( [parent] [, key], rendererClass)

Parameters:
Name Type Argument Description
parent PhaserComps.UIComponents.UIComponentPrototype <optional>

UIComponentPrototype instance to find clip inside

key String <optional>

key to find clip inside parent

rendererClass Class

class for items, best if extending UIListBaseItem

Properties:
Name Type Description
data *

any data from UIList data list

Fires:

Methods


<protected> _commitData()

apply data from setter, override it


notifyChange()

Emits change event to containing UIList instance