Options
All
  • Public
  • Public/Protected
  • All
Menu

Is also a namespace for scoping FieldBase based interfaces and types.

Index

Type aliases

Type aliases

DefaultFunction<T>: (name: string, modelData: ModelData, context: TableContext) => T

Type parameters

  • T

    Value to return from default function.

Type declaration

    • Function to get the default value when the model property is missing.

      Parameters

      • name: string

        Name of the model attribute this field is associated with (generally same as init name argument).

      • modelData: ModelData

        Data from the model that needs to be mapped to the table data.

      • context: TableContext

        Current context this method is being called in.

      Returns T

      default value for the model property if it is missing.

Generated using TypeDoc