• Decorator: Specifies an HTML attribute.

    Parameters

    • Optional config: DecoratorAttributeConfiguration

      The configuration for the attribute.

    Returns ((target, property) => void)

      • (target, property): void
      • Parameters

        • target: {}
          • property: string

          Returns void

    • Decorator: Specifies an HTML attribute.

      Parameters

      • target: {}

        The class to define the attribute on.

        • prop: string

          The property name to be associated with the attribute.

        Returns void

      Generated using TypeDoc