Web Component: j-OneTime


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-OneTime

This component executes a method only once and it waits for expiration.

Configuration:

  • required exec {String} a path to the method that will be executed
  • expire {String} expiration, default 1 year
  • delay {Number} a delay for executing method in milliseconds, default: 1000 ms

Author