• Creates a tracker of custom element's DOM property value.

    Requires property to be defined. E.g. with @DomProperty decorator.

    Returns

    New DOM property value tracker.

    Type Parameters

    • T = any

      A type of DOM property value.

    Parameters

    • context: ComponentContext<any>

      Target component context.

    • key: PropertyKey

      Property key.

    • path: StatePath = ...

      Custom property state path.

    Returns ValueTracker<T>

Generated using TypeDoc