File

projects/ng-dynamic-forms/core/src/lib/model/editor/dynamic-editor.model.ts

Extends

DynamicInputControlModel

Index

Properties
Methods

Constructor

constructor(config: DynamicEditorModelConfig, layout?: DynamicFormControlLayout)
Parameters :
Name Type Optional
config DynamicEditorModelConfig No
layout DynamicFormControlLayout Yes

Properties

Readonly type
Type : string
Default value : DYNAMIC_FORM_CONTROL_TYPE_EDITOR
Decorators :
@serializable()
autoComplete
Type : string
Decorators :
@serializable()
Inherited from DynamicInputControlModel
autoFocus
Type : boolean
Decorators :
@serializable()
Inherited from DynamicInputControlModel
maxLength
Type : number | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
minLength
Type : number | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
placeholder
Type : string
Decorators :
@serializable()
Inherited from DynamicInputControlModel
prefix
Type : string | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
readOnly
Type : boolean
Decorators :
@serializable()
Inherited from DynamicInputControlModel
spellCheck
Type : boolean
Decorators :
@serializable()
Inherited from DynamicInputControlModel
suffix
Type : string | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
Private _value
Type : T | null
Decorators :
@serializable('value')
Inherited from DynamicInputControlModel
additional
Type : literal type | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
hint
Type : string | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
required
Type : boolean
Decorators :
@serializable()
Inherited from DynamicInputControlModel
tabIndex
Type : number | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
Private Readonly value$
Type : BehaviorSubject<T>
Inherited from DynamicInputControlModel
Readonly valueChanges
Type : Observable<T>
Inherited from DynamicInputControlModel
_disabled
Type : boolean
Decorators :
@serializable('disabled')
Inherited from DynamicInputControlModel
asyncValidators
Type : DynamicValidatorsConfig | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
controlTooltip
Type : string | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
Private Readonly disabled$
Type : BehaviorSubject<boolean>
Inherited from DynamicInputControlModel
Readonly disabledChanges
Type : Observable<boolean>
Inherited from DynamicInputControlModel
errorMessages
Type : DynamicValidatorsConfig | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
hidden
Type : boolean
Decorators :
@serializable()
Inherited from DynamicInputControlModel
id
Type : string
Decorators :
@serializable()
Inherited from DynamicInputControlModel
label
Type : string | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
labelTooltip
Type : string | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
layout
Type : DynamicFormControlLayout | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
name
Type : string
Decorators :
@serializable()
Inherited from DynamicInputControlModel
parent
Type : DynamicPathable | null
Default value : null
Inherited from DynamicInputControlModel
relations
Type : DynamicFormControlRelation[]
Decorators :
@serializable()
Inherited from DynamicInputControlModel
Abstract Readonly type
Type : string
Inherited from DynamicInputControlModel
updateOn
Type : DynamicFormHook | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
validators
Type : DynamicValidatorsConfig | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
_disabled
Type : boolean
Decorators :
@serializable('disabled')
Inherited from DynamicInputControlModel
asyncValidators
Type : DynamicValidatorsConfig | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
controlTooltip
Type : string | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
Private Readonly disabled$
Type : BehaviorSubject<boolean>
Inherited from DynamicInputControlModel
Readonly disabledChanges
Type : Observable<boolean>
Inherited from DynamicInputControlModel
errorMessages
Type : DynamicValidatorsConfig | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
hidden
Type : boolean
Decorators :
@serializable()
Inherited from DynamicInputControlModel
id
Type : string
Decorators :
@serializable()
Inherited from DynamicInputControlModel
label
Type : string | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
labelTooltip
Type : string | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
layout
Type : DynamicFormControlLayout | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
name
Type : string
Decorators :
@serializable()
Inherited from DynamicInputControlModel
parent
Type : DynamicPathable | null
Default value : null
Inherited from DynamicInputControlModel
relations
Type : DynamicFormControlRelation[]
Decorators :
@serializable()
Inherited from DynamicInputControlModel
Abstract Readonly type
Type : string
Inherited from DynamicInputControlModel
updateOn
Type : DynamicFormHook | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
validators
Type : DynamicValidatorsConfig | null
Decorators :
@serializable()
Inherited from DynamicInputControlModel
Private _value
Type : T | null
Decorators :
@serializable('value')
additional
Type : literal type | null
Decorators :
@serializable()
hint
Type : string | null
Decorators :
@serializable()
required
Type : boolean
Decorators :
@serializable()
tabIndex
Type : number | null
Decorators :
@serializable()
Private Readonly value$
Type : BehaviorSubject<T>
Readonly valueChanges
Type : Observable<T>
_disabled
Type : boolean
Decorators :
@serializable('disabled')
asyncValidators
Type : DynamicValidatorsConfig | null
Decorators :
@serializable()
controlTooltip
Type : string | null
Decorators :
@serializable()
Private Readonly disabled$
Type : BehaviorSubject<boolean>
Readonly disabledChanges
Type : Observable<boolean>
errorMessages
Type : DynamicValidatorsConfig | null
Decorators :
@serializable()
hidden
Type : boolean
Decorators :
@serializable()
id
Type : string
Decorators :
@serializable()
label
Type : string | null
Decorators :
@serializable()
labelTooltip
Type : string | null
Decorators :
@serializable()
layout
Type : DynamicFormControlLayout | null
Decorators :
@serializable()
name
Type : string
Decorators :
@serializable()
parent
Type : DynamicPathable | null
Default value : null
relations
Type : DynamicFormControlRelation[]
Decorators :
@serializable()
Abstract Readonly type
Type : string
updateOn
Type : DynamicFormHook | null
Decorators :
@serializable()
validators
Type : DynamicValidatorsConfig | null
Decorators :
@serializable()
_disabled
Type : boolean
Decorators :
@serializable('disabled')
Inherited from DynamicFormControlModel
asyncValidators
Type : DynamicValidatorsConfig | null
Decorators :
@serializable()
Inherited from DynamicFormControlModel
controlTooltip
Type : string | null
Decorators :
@serializable()
Inherited from DynamicFormControlModel
Private Readonly disabled$
Type : BehaviorSubject<boolean>
Inherited from DynamicFormControlModel
Readonly disabledChanges
Type : Observable<boolean>
Inherited from DynamicFormControlModel
errorMessages
Type : DynamicValidatorsConfig | null
Decorators :
@serializable()
Inherited from DynamicFormControlModel
hidden
Type : boolean
Decorators :
@serializable()
Inherited from DynamicFormControlModel
id
Type : string
Decorators :
@serializable()
Inherited from DynamicFormControlModel
label
Type : string | null
Decorators :
@serializable()
Inherited from DynamicFormControlModel
labelTooltip
Type : string | null
Decorators :
@serializable()
Inherited from DynamicFormControlModel
layout
Type : DynamicFormControlLayout | null
Decorators :
@serializable()
Inherited from DynamicFormControlModel
name
Type : string
Decorators :
@serializable()
Inherited from DynamicFormControlModel
parent
Type : DynamicPathable | null
Default value : null
Inherited from DynamicFormControlModel
relations
Type : DynamicFormControlRelation[]
Decorators :
@serializable()
Inherited from DynamicFormControlModel
Abstract Readonly type
Type : string
Inherited from DynamicFormControlModel
updateOn
Type : DynamicFormHook | null
Decorators :
@serializable()
Inherited from DynamicFormControlModel
validators
Type : DynamicValidatorsConfig | null
Decorators :
@serializable()
Inherited from DynamicFormControlModel

Methods

getAdditional
getAdditional(key: string, defaultValue?: any | null)
Inherited from DynamicInputControlModel
Parameters :
Name Type Optional
key string No
defaultValue any | null Yes
Returns : any
toJSON
toJSON()
Inherited from DynamicInputControlModel
Returns : any
toJSON
toJSON()
Inherited from DynamicInputControlModel
Returns : any
getAdditional
getAdditional(key: string, defaultValue?: any | null)
Parameters :
Name Type Optional
key string No
defaultValue any | null Yes
Returns : any
toJSON
toJSON()
Returns : any
toJSON
toJSON()
Inherited from DynamicFormControlModel
Returns : any
import { DynamicInputControlModel, DynamicInputControlModelConfig } from "../dynamic-input-control.model";
import { DynamicFormControlLayout } from "../misc/dynamic-form-control-layout.model";
import { serializable } from "../../decorator/serializable.decorator";

export const DYNAMIC_FORM_CONTROL_TYPE_EDITOR = "EDITOR";

export interface DynamicEditorModelConfig extends DynamicInputControlModelConfig<string> {
}

export class DynamicEditorModel extends DynamicInputControlModel<string> {

    @serializable() readonly type: string = DYNAMIC_FORM_CONTROL_TYPE_EDITOR;

    constructor(config: DynamicEditorModelConfig, layout?: DynamicFormControlLayout) {

        super(config, layout);
    }
}

result-matching ""

    No results matching ""