Plugins are functions that are called with input/textarea element and mask options as arguments upon mask initialization. They can optionally return cleanup logic and allow you to extend mask with arbitrary additional behavior.
maskitoRejectEvent
in @maskito/kit
The following sections are recommended to explore core concepts further: