docs(forms): add radio button examples (#11676)

This commit is contained in:
Kara
2016-09-19 10:41:20 -07:00
committed by Alex Eagle
parent 5bf08b886f
commit fa4723a208
9 changed files with 222 additions and 19 deletions
+17
View File
@@ -439,6 +439,23 @@ export declare class PatternValidator implements Validator, OnChanges {
};
}
/** @stable */
export declare class RadioControlValueAccessor implements ControlValueAccessor, OnDestroy, OnInit {
formControlName: string;
name: string;
onChange: () => void;
onTouched: () => void;
value: any;
constructor(_renderer: Renderer, _elementRef: ElementRef, _registry: RadioControlRegistry, _injector: Injector);
fireUncheck(value: any): void;
ngOnDestroy(): void;
ngOnInit(): void;
registerOnChange(fn: (_: any) => {}): void;
registerOnTouched(fn: () => {}): void;
setDisabledState(isDisabled: boolean): void;
writeValue(value: any): void;
}
/** @stable */
export declare class ReactiveFormsModule {
}