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 Attributes Description
configureDefault boolean <optional>

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:

id

Source:

title

Source:

token :Token

Source:

Convenience access for the Token object

Type:

Methods

(static) getTrackedAttributeChoices() → {Array.<string>}

Source:

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

Returns:
Type
Array.<string>

_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

(async) _updateObject()

Source:

activateListeners()

Source:

(async) getData()

Source:

(async) render()

Source: