<wux-notification id="wux-notification" />

<view class="page">
    <view class="page__hd">
        <view class="page__title">Notification</view>
        <view class="page__desc">通知</view>
    </view>
    <view class="page__bd page__bd_spacing">
        <wux-button block type="light" bind:click="showNotification">Show Notification</wux-button>
        <wux-button block type="light" bind:click="closeNotification">Close Notification</wux-button>
        <wux-button block type="light" bind:click="showNotificationReturn">Use return value to close</wux-button>
        <wux-button block type="light" bind:click="showNotificationPromise">Use promise to know when closed</wux-button>
    </view>
</view>