login-popup

1.0.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i login-popup

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

41.4 kB

Total Files

9

Last publish

Collaborators

  • kevinxiaohongwen