Amaze UI Plugin

Amaze UI Dialog

Modal with HTML template.

Star Fork Download

显示 Alert 窗口

点击显示 Alert
<buttong class="am-btn am-btn-primary js-alert">点击显示 Alert</buttong>

<script>
  $('.js-alert').on('click', function() {
    AMUI.dialog.alert({
      title: 'Alert 窗口',
      content: 'Hello world.',
      onConfirm: function() {
        console.log('close');
      }
    });
  });
</script>
Amaze UI 微信
在微信上关注我们