yox
yox copied to clipboard
English Documentation
This seems like a great alternative to Vue.
As a suggestion, it would be great if the documentation would be available in English.
I hope I can write english document, but my english is poor, so I don't know how to help you
Your English is fine. :)
I guess I could try and help by using Google Translate and then see if things make sense.
Haha, my english is so simple, I don't know how to explain the technology concepts.
@terrybr If you save any question, please tell me
@musicode Is there a way to update data from component using $emit like in Vue?
this.$emit('field', value);
Never mind, I found out that I can use
self.$parent.set('field', value);
Yox has been great so far. Keep up the great work!
you can use fire
method like below:
this.fire(name: string, data?: object, downward?: boolean)
fire
method bubble up event as default, so you can call fire
without downward
:
this.fire('name')
looks very cool 好像很不错的样子
@all if you are an english developer and you need some examples, please tell me, I will add new examples in readme.
I'm sorry for my english.
看着挺不错的,之前为了兼容IE8,被迫使用了avalonjs。点个star,支持下。
@tangshengfei 用了你会觉得更不错哦