Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NumberValueAccessor

The accessor for setting a value and listening to changes that is used by the {@link NgModel}

Example

 <Slider [(ngModel)]="model.test">

Hierarchy

Implements

  • ControlValueAccessor

Index

Constructors

constructor

Properties

view

view: Slider

Methods

Protected normalizeValue

  • normalizeValue(value: any): any

onChange

  • onChange(_: any): void

onTouched

  • onTouched(): void

registerOnChange

  • registerOnChange(fn: function): void

registerOnTouched

  • registerOnTouched(fn: function): void

setDisabledState

  • setDisabledState(isDisabled: boolean): void

writeValue

  • writeValue(value: any): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method