Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ComplexAttributeConverter<Type, TypeHint>

Converts property values to and from attribute values.

Type parameters

  • Type

  • TypeHint

Hierarchy

  • ComplexAttributeConverter

Index

Methods

Optional fromAttribute

  • fromAttribute(value: string, type?: TypeHint): Type

Optional toAttribute

  • toAttribute(value: Type, type?: TypeHint): string | null
  • Function called to convert a property value to an attribute value.

    Parameters

    Returns string | null

Generated using TypeDoc