Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextValueAccessor

The accessor for writing a text and listening to changes that is used by the {@link NgModel} directives.

Example

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

Hierarchy

Implements

  • ControlValueAccessor

Index

Constructors

constructor

Properties

view

view: TextView

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