index.axml 1.6 KB

1234567891011121314151617181920212223242526
  1. <demo-block title='基础用法' padding=" " ref='saveChildRef1'>
  2. <van-cell title='Fade' is-link=" " onClick='onClickFade' ref='saveChildRef2'>
  3. </van-cell>
  4. <van-cell title='Fade Up' is-link=" " onClick='onClickFadeUp' ref='saveChildRef3'>
  5. </van-cell>
  6. <van-cell title='Fade Down' is-link=" " onClick='onClickFadeDown' ref='saveChildRef4'>
  7. </van-cell>
  8. <van-cell title='Fade Left' is-link=" " onClick='onClickFadeLeft' ref='saveChildRef5'>
  9. </van-cell>
  10. <van-cell title='Fade Right' is-link=" " onClick='onClickFadeRight' ref='saveChildRef6'>
  11. </van-cell>
  12. <van-cell title='Slide Up' is-link=" " onClick='onClickSlideUp' ref='saveChildRef7'>
  13. </van-cell>
  14. <van-cell title='Slide Down' is-link=" " onClick='onClickSlideDown' ref='saveChildRef8'>
  15. </van-cell>
  16. <van-cell title='Slide Left' is-link=" " onClick='onClickSlideLeft' ref='saveChildRef9'>
  17. </van-cell>
  18. <van-cell title='Slide Right' is-link=" " onClick='onClickSlideRight' ref='saveChildRef10'>
  19. </van-cell>
  20. <van-cell title='Custom' is-link=" " onClick='onClickCustom' ref='saveChildRef11'>
  21. </van-cell>
  22. <van-transition show='{{ show }}' name='{{ name }}' custom-class='block' ref='saveChildRef12'>
  23. </van-transition>
  24. <van-transition show='{{ showCustom }}' name=" " duration='{{ { enter: 300, leave: 1000 } }}' custom-class='block' enter-class='van-enter-class' enter-active-class='van-enter-active-class' leave-active-class='van-leave-active-class' leave-to-class='van-leave-to-class' onBefore-enter='onBeforeEnter' onEnter='onEnter' onAfter-enter='onAfterEnter' onBefore-leave='onBeforeLeave' onLeave='onLeave' onAfter-leave='onAfterLeave' ref='saveChildRef13'>
  25. </van-transition>
  26. </demo-block>