jeudi 22 décembre 2016

Which is better between Ember statement vs HTML statement in Ember?

I'm new in Ember.

As I know, the Ember is consist of [.js/.hbs(handlebars)].

when I search the component in the google, I got 2 kinds of source.

1st is like 'HTML' <input type="checkbox" class="btn btn-success active" />CheckBox01<br />

and 2nd is like more 'Ember'. CheckBox02

but I think these are same.. so I don't select what I use.

Frankly I want to follow 2nd style, but when I try it('http://ift.tt/1WhnMVM'), I got failed.
so I just use 1st style these days. and It is more easy to me because I used to handle HTML.

Anyway, the question is what are the different between Ember Style and HTML Style.

Thanks.




Aucun commentaire:

Enregistrer un commentaire