DataFormsJS v4.5.0 Release Notes

Release Date: 2020-08-28 // over 3 years ago
    • ➕ Add Framework Plugin: js/plugins/modalAlert.js
      • Example Usage: ~~~html .modal-overlay .modal-content { background-color: black; padding: 40px 80px; color: white; font-size: 1.5em; } 50% OFF SITEWIDE + FREE SHIPPING ON ALL U.S. ORDERS ~~~
      • Attribute data-show-every is optional and allows for simple text to interval conversion, works only with time ranges in a single duration [second(s), minute(s), hour(s), day(s)]. Examples:
        • 30 seconds
        • 1 MINUTE
        • 12 Hours
        • 1 day
      • If the element has an optional [data-hide-on-page-load] attribute then the modal will not be displayed by default and the app can showing it by calling app.plugins.modalAlert.showModal().
      • Plugin is small and easy to copy and customize if an app needs similar behavior