AttributeChangedCallback<T>: ((this: void, component: T, newValue: string | null, oldValue: string | null) => void)

Type Parameters

  • T extends object

    A type of component.

Type declaration

    • (this: void, component: T, newValue: string | null, oldValue: string | null): void
    • Custom element attribute change callback signature.

      This function is called whenever a new attribute value assigned.

      Parameters

      • this: void
      • component: T
      • newValue: string | null
      • oldValue: string | null

      Returns void

Generated using TypeDoc