UNPKG

metro4

Version:

The front-end framework for Build responsive, mobile-first projects on the web with the first front-end component library in Metro Style

38 lines (32 loc) 891 B
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <link href="../metro/css/metro-all.css?ver=@@b-version" rel="stylesheet"> <title>Test Any - Metro 4 :: Popular HTML, CSS and JS library</title> </head> <body class="m4-cloak"> <div class="container" > <h1>Any test page</h1> </div> <script src="../metro/js/metro.js?ver=@@b-version"></script> <script> Metro.window.create({ resizeable: true, draggable: true, place: 'center', left: '', top: '', closeAction: 1, title: 'test', content: '<p>onMaxbtn do not work</p>', btnMax: true, btnMin: true, onMaxClick: function (win) { alert('on Max Clicked!') } }); </script> </body> </html>