1.0.4 • Published 2 years ago

login-popup v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

login popup

how to use

  var options = {
        title: 'xxx',
        content: [
          { type: 'input', placeholder: 'xxx', name: 'xxx', regular: '', errorInfo: 'xxx'},
          { type: 'input', placeholder: 'xx', name: 'xx', regular: '', errorInfo: 'xxx' },
          { type: 'button', name: 'submit', text: 'xx' }
        ],
        footer: [
          { text: 'XX', position: 'center', type: 'light-green', url: 'xxx'},
          { text: 'XX', position: 'right', type: 'dim-gray', url: 'XXX'}
        ],
        onOpen: function() {
           //alert('modal open');
        },
        onClose: function() {
           //alert('modal onClose');
        },
      }
    var popup = new LoginPopup.LoginPopup(options)
    popup.open();

expand

url

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago