beforeChange property

BeforeChangeCallback? beforeChange
getter/setter pair

A function called before the text is updated. Returns a boolean informing whether the text should be updated.

Defaults to a function returning true

Implementation

BeforeChangeCallback? beforeChange;