tshtml
    Preparing search index...

    Class TransformArgumentMapping

    Mapping configuration for transforming an attribute. Allows renaming, providing default values, and applying custom transformation functions.

    TransformArgumentMapping

    {
    * to: 'ng-if',
    * default: false,
    * transform: (val) => !!val
    * }
    Index

    Constructors

    Properties

    Constructors

    Properties

    default?: any

    Default value if attribute is not provided

    to?: string

    The new attribute name (if different from original)

    transform?: (arg: any) => any

    Function to transform attribute value