Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CheckedValueAccessor

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

Example

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

Hierarchy

Implements

  • ControlValueAccessor

Index

Constructors

constructor

Properties

view

view: Switch

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