HTML
CSS
JavaScript
play_arrow
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.3.0/css/mdui.min.css"/>
</head>
<body>

<div class="mdui-container mdui-p-t-5">
  <div class="mdui-row-xs-3">
    <div class="mdui-col mdui-text-center">
      <button class="mdui-btn mdui-btn-icon" mdui-tooltip="{content: '打印'}"><i class="mdui-icon material-icons">local_printshop</i></button>
    </div>
    <div class="mdui-col mdui-text-center">
      <button class="mdui-btn mdui-btn-icon" mdui-tooltip="{content: '打印', position: 'top'}"><i class="mdui-icon material-icons">local_printshop</i></button>
    </div>
    <div class="mdui-col mdui-text-center">
      <button class="mdui-btn mdui-btn-icon" mdui-tooltip="{content: '打印', delay: 1000}"><i class="mdui-icon material-icons">local_printshop</i></button>
    </div>
  </div>
</div>

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

    
JavaScript