Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FormRadioDirective

FormRadioDirective.

example

<input type="radio" [formControl]="control" name="radioGroup" value="one" /> <input type="radio" [formControl]="control" name="radioGroup" value="two" /> <input type="radio" [formControl]="control" name="radioGroup" value="three" />

Hierarchy

Indexable

[key: string]: any

FormRadioDirective.

example

<input type="radio" [formControl]="control" name="radioGroup" value="one" /> <input type="radio" [formControl]="control" name="radioGroup" value="two" /> <input type="radio" [formControl]="control" name="radioGroup" value="three" />

Index

Constructors

constructor

Properties

changes$

changes$: ReplaySubject<Factory>

Optional formControl

formControl: FormAbstract

Optional formControlName

formControlName: undefined | string

Optional host

rxcompId

rxcompId: number

unsubscribe$

unsubscribe$: Subject<void>

Accessors

control

Methods

onBlur

  • onBlur(event: FocusEvent): void

onChange

  • onChange(event: Event): void

onChanges

  • onChanges(changes: Factory | Window): void

onDestroy

  • onDestroy(): void

onInit

  • onInit(): void

onParentDidChange

  • onParentDidChange(changes: Factory | Window): void

onView

  • onView(): void

pushChanges

  • pushChanges(): void

setDisabledState

  • setDisabledState(disabled: boolean): void

writeValue

  • writeValue(value: any): void

Static getInputsTokens

  • getInputsTokens(instance: Factory, node: IElement, module: Module): {}

Object literals

Static meta

meta: object

inputs

inputs: string[] = ['formControl', 'formControlName']

selector

selector: string = "input[type=radio][formControl],input[type=radio][formControlName]"

hosts

hosts: object

host

host: FormAbstractCollectionDirective = FormAbstractCollectionDirective