Skip to content

2.2.0

Compare
Choose a tag to compare
@HichemTab-tech HichemTab-tech released this 30 Aug 06:06
· 12 commits to master since this release

Changelog

Added

  • New option: onchange
    A callback function executed when the OTP code changes (by typing, clearing, or setting).

  • New methods:

    • option
      Get or set an option dynamically.

    • addClass
      Add style classes to the fake OTP inputs' classList.

    • removeClass
      Remove style classes from the fake OTP inputs' classList.