yox icon indicating copy to clipboard operation
yox copied to clipboard

English Documentation

Open terrybr opened this issue 5 years ago • 12 comments

This seems like a great alternative to Vue.

As a suggestion, it would be great if the documentation would be available in English.

terrybr avatar Jun 09 '19 22:06 terrybr

I hope I can write english document, but my english is poor, so I don't know how to help you

musicode avatar Jun 10 '19 01:06 musicode

Your English is fine. :)

I guess I could try and help by using Google Translate and then see if things make sense.

terrybr avatar Jun 10 '19 01:06 terrybr

Haha, my english is so simple, I don't know how to explain the technology concepts.

musicode avatar Jun 10 '19 01:06 musicode

@terrybr If you save any question, please tell me

musicode avatar Jun 10 '19 06:06 musicode

@musicode Is there a way to update data from component using $emit like in Vue?

this.$emit('field', value);

terrybr avatar Jun 24 '19 20:06 terrybr

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!

terrybr avatar Jun 24 '19 21:06 terrybr

you can use fire method like below:

this.fire(name: string, data?: object, downward?: boolean)

musicode avatar Jun 25 '19 01:06 musicode

fire method bubble up event as default, so you can call fire without downward:

this.fire('name')

musicode avatar Jun 25 '19 01:06 musicode

looks very cool 好像很不错的样子

yanan-xu avatar Jul 04 '19 14:07 yanan-xu

@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.

musicode avatar Jul 10 '19 07:07 musicode

看着挺不错的,之前为了兼容IE8,被迫使用了avalonjs。点个star,支持下。

tangshengfei avatar Aug 23 '19 10:08 tangshengfei

@tangshengfei 用了你会觉得更不错哦

musicode avatar Aug 23 '19 10:08 musicode