characterCounter property

  1. @Input()
CharacterCounter characterCounter
getter/setter pair

A custom character counter function.

Takes in the input text; returns how many characters the text should be considered as.

Implementation

@Input()
CharacterCounter characterCounter = (v) => 0;