Options
All
  • Public
  • Public/Protected
  • All
Menu

External module ControlMapper

description

Module for mapping controls content types and / or field settings to specified front-end controls

let controlMapper = new ControlMapper(MyBaseControlClass, myConfigFactory, DefaultViewComponent, DefaultFieldComponent)
      .SetupFieldSettingDefault(FieldSettings.ShortTextFieldSetting, (setting) => {
         switch (setting.Name) {
             case 'Name':
                 return NameField;
             case 'DisplayName':
                 return DisplayName;
             default:
                 break;
         }
         return ShortText;
      })

Index

Classes

Type aliases

Type aliases

ActionName

ActionName: "new" | "edit" | "view"

Generated using TypeDoc