GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Tutorials
  • Playground
  • Reference
  • code
  • ControlValueAccessor
  • FormControlDirective
  • FormControlName
  • NgModel

This view

  • Original page
  • New address

GeezerVison is showing next.angular.dev — RangeValueAccessor • Angular

API

    
      class RangeValueAccessor extends BuiltInControlValueAccessor implements ControlValueAccessor {}
    
    

Description

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.

Exported by

  • ReactiveFormsModule
  • FormsModule

Usage Notes

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">
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.