Type alias AttributeHandler<T>

AttributeHandler<T>: ((value) => void)

The structure of the attribute handler function.

Type Parameters

  • T extends AttributeValue = AttributeValue

Type declaration

    • (value): void
    • Parameters

      • value: T | undefined

        The value for the attribute that this handler is attached to or undefined if the attribute is removed.

      Returns void

Generated using TypeDoc