RangeValueAccessor
디렉티브
안정화
The ControlValueAccessor for writing a range value and listening to range input changes.
The value accessor is used by the FormControlDirective, FormControlName, and NgModel
directives.
설명
The ControlValueAccessor for writing a range value and listening to range input changes.
The value accessor is used by the FormControlDirective, FormControlName, and NgModel
directives.
다음 모듈에서 내보냄
사용 시 참고사항
Using a range input with a reactive form
The following example shows how to use a range input with a reactive form.
const ageControl = new FormControl();
<input type="range" [formControl]="ageControl">
상세 내용으로 이동