Layer maximum. Minimize. Restore callback method

 layer.open({
              type: 1,
             title: 'Online debugging',
           content: 'This is the content',
            maxmin: true, //Enable the maximum, minimum and restore buttons, only when the type is 1 and 2 can you set
              full: function() { //The callback function after clicking maximized
                 console.log('This is the callback function after clicking maximized');
            },
               min: function() { //The callback function after clicking minimized
                  console. log('This is the start of the callback function after clicking to minimize');
              },
           restore: function() { //The callback function after clicking to restore
                 console.log('This is the start of the callback function after clicking to restore');
             }
     })

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324948471&siteId=291194637