0.1.2 • Published 8 years ago

riot-weui v0.1.2

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

riot-weui

weui for riot

Action Sheet

weui-action-sheet

opts:

  • show: Control if action sheet opening.
  • onclose: Event fire on action sheet closed.

weui-action-sheet-cell

pay attention parent.

<main>
    <weui-action-sheet show={ isShow }
        onclose={ close }>
        <weui-action-sheet-cell onclick={ parent.clickmenu }>
            <b>菜单项</b>
        </weui-action-sheet-cell>
    </weui-action-sheet>

    <script type="babel">
    this.isShow = true
    this.close = e => console.log('close')
    this.clickmenu = e => console.log('click')
    </script>
</main>