Construct a new attached property.
The options for initializing the property.
Private
_changedPrivate
_coercePrivate
_comparePrivate
_createPrivate
_pidReadonly
nameThe human readable name for the property.
Private
_coercePrivate
_comparePrivate
_createPrivate
_maybe
A class which attaches a value to an external object.
Notes
Attached properties are used to extend the state of an object with semantic data from an unrelated class. They also encapsulate value creation, coercion, and notification.
Because attached property values are stored in a hash table, which in turn is stored in a WeakMap keyed on the owner object, there is non-trivial storage overhead involved in their use. The pattern is therefore best used for the storage of rare data.