File

shared/src/control-base/control-base.directive.ts

Description

Generic FormControl implementation. Extended by custom controls.

Implements

ControlValueAccessor

Index

Inputs
Accessors

Inputs

disabled
Type : boolean

Determinates whether the control is en-/disabled.

formControlName
Type : string
Default value : ''

Name of the corresponding FormControl if used in a reactive form context.

value
Type : any

The control's current value.

readonly
Type : boolean, unknown
Default value : false, { transform: booleanAttribute }

Determines whether the control is readonly.

Accessors

disabled
getdisabled()

Determinates whether the control is en-/disabled.

setdisabled(value: boolean)

Set whether the control is en-/disabled.

Parameters :
Name Type Optional
value boolean No
Returns : void
value
getvalue()

The control's current value.

setvalue(value: any)

Set the control's current value.

Parameters :
Name Type Optional
value any No
Returns : void

results matching ""

    No results matching ""