Type Alias Attributes<TUserData>

Attributes: {
    [key in AttributeKey]: AttributeValue<TUserData, StaticAttributes[key]>
}

These are the attribute-types as specified to the constructor and individual attribute setters

Type Parameters

  • TUserData = unknown

    The type of the user-specified data passed to setData() and made available in the arguments of the dynamic attribute callbacks.