Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

English Documentation #29

Open
terrybr opened this issue Jun 9, 2019 · 12 comments
Open

English Documentation #29

terrybr opened this issue Jun 9, 2019 · 12 comments

Comments

@terrybr
Copy link

terrybr commented Jun 9, 2019

This seems like a great alternative to Vue.

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

@musicode
Copy link
Contributor

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

@terrybr
Copy link
Author

terrybr commented Jun 10, 2019

Your English is fine. :)

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

@musicode
Copy link
Contributor

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

@musicode
Copy link
Contributor

@terrybr If you save any question, please tell me

@terrybr
Copy link
Author

terrybr commented Jun 24, 2019

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

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

@terrybr
Copy link
Author

terrybr commented Jun 24, 2019

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!

@musicode
Copy link
Contributor

you can use fire method like below:

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

@musicode
Copy link
Contributor

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

this.fire('name')

@yanan-xu
Copy link

yanan-xu commented Jul 4, 2019

looks very cool
好像很不错的样子

@musicode
Copy link
Contributor

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

@tangshengfei
Copy link

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

@musicode
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants