Options
All
  • Public
  • Public/Protected
  • All
Menu

External module FieldSettings

description

Module for FieldSettings.

FieldSetting object is the implementation of the configuration element in a Sense/Net Content Type Definition. The FieldSetting of a Field contains properties that define the behavior of the Field - for example a Field can be configured as read only or compulsory to fill. FieldSettings helps us to autogenerate type and schema TS files from Sense/Net CTDs and use these files to reach all the configuration options of the Content Types fields on client-side e.g. for validation.

This module also contains some FieldSetting related enums to use them as types in properties e.g. visibitily or datetime mode options.

Index

Functions

isFieldSettingOfType

  • isFieldSettingOfType<T>(setting: FieldSetting, type: object): boolean
  • Type parameters

    Parameters

    • setting: FieldSetting
    • type: object
      • constructor: function
        • new __type(): T
        • Returns T

    Returns boolean

Generated using TypeDoc