1.0.4 • Published 3 years ago

login-popup v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
3 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

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago