TokenConfig

TokenConfig

A Token Configuration Application

Constructor

new TokenConfig(token, options)

Source:
Parameters:
Name Type Description
token Token

The Token object for which settings are being configured

options Object

TokenConfig ui options (see Application)

Properties
Name Type Description
configureDefault Boolean

Configure the default actor token on submit

Members

(static) defaultOptions

Source:

actor :Actor|null

Source:

Convenience access for the Token's linked Actor, if any

Type:

displayModes

Source:

Convert Token display modes to an object of values and labels

title

Source:

token :Token

Source:

Convenience access for the Token object

Type:

Methods

_updateActorData(tokenData)

Source:

Update certain fields of a linked actor token when token configuration is changed

Parameters:
Name Type Description
tokenData Object

The new token data

_updateObject()

Source:

activateListeners()

Source:

getBarAttributes() → {Array}

Source:

Inspect the Actor data model and identify the set of attributes which could be used for a Token Bar

Returns:
Type
Array

(async) getData()

Source: