Last active
March 11, 2017 16:12
-
-
Save MrRaindrop/3d7b5d9b69b6eb79bb084f15a840b858 to your computer and use it in GitHub Desktop.
weex-vue2: a demo for animation.transition of translateX.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<scroller> | |
<text>{{constr}}</text> | |
</scroller> | |
</template> | |
<script> | |
module.exports = { | |
data () { | |
return { constr: 'list' } | |
}, | |
beforeCreate () { | |
this.constr = this.$options.components.list | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment