HTML
CSS
JavaScript
HTML
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>对话框 - 不含标题栏</title>
  <link rel="stylesheet" href="../assets/mdui-v0.2.1/css/mdui.min.css"/>
</head>
<body class="mdui-theme-primary-indigo mdui-theme-accent-pink">

<div class="mdui-container">
  <button class="mdui-btn mdui-color-theme-accent mdui-ripple" mdui-dialog="{target: '#exampleNoTitle'}">open</button>

  <div class="mdui-dialog" id="exampleNoTitle">
    <div class="mdui-dialog-content">Discard draft?</div>
    <div class="mdui-dialog-actions">
      <button class="mdui-btn mdui-ripple" mdui-dialog-close>cancel</button>
      <button class="mdui-btn mdui-ripple" mdui-dialog-confirm>discard</button>
    </div>
  </div>
</div>

<script src="../assets/mdui-v0.2.1/js/mdui.min.js"></script>
</body>
</html>
CSS

    
JavaScript