🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

dialog.js is a simple, lightweight yet fully configurable jQuery plugin for creating modal-style popups to replace the default alert and confirmation dialog boxes.

Modal alert confirm Dialog

Documentation

dialog

A mini dialog base on Vue

<dig-dialog v-model="showTipsDialog"             :show-cancel-button="false"             :title="'标题'"             :confirmText="'确认按钮'"             :before-close="confirmTipsShow">   <div class="tips">    弹窗内容   </div> </dig-dialog>
  confirmTipsShow (action, done) {     if (action === 'confirm') {       const success = true       if (success) {         done()       } else {         done(false)       }     } else {       done()     }   }

You May Also Like