Web Component: j-Backup


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-Backup

The component for data saving data to and loading from the local storage of the browser.

  • jComponent v19|v20
  • supports dark mode

Configuration:

  • exec {String} Optional property which contains a link to a function, which will be executed after clicking on a button of the component. The function can have an argument, which is the name of a clicked button - function(name).
  • expire {String} Optional property, which specifies the period during which the data will be stored in the local storage. The default value is '1 day'. The value of the property should be written in the following format: "number [seconds, minutes, hours, days, weeks, months, years]"

Author