0.0.6 • Published 3 years ago
@mini-architecture/mini v0.0.6
mini
an example of mini-app
example
// index.html
<view>
<button bindtap="handleClick" class="btn">click me</button>
<view class="{{cls}}">bind-data: {{hello}}</view>
<button bindtap="goNext">go next page</button>
</view>
// index.js
Page({
data: {
hello: 'hello world',
cls: 'view',
},
handleClick() {
this.setData({ hello: 'hello again' })
},
goNext() {
ma.navigateTo({
url: 'pages/demo/index',
success() {},
})
},
})
find more at @mini-architecture/framework
0.0.6
3 years ago
0.0.5-beta.0
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago
0.0.3-beta2
4 years ago
0.0.3-beta1
4 years ago