You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@enchev Now we need to do the hard work to describe this change in the documentation & in help articles (cssClass rename, tap -> onTap). I'm marking this as a breaking change because if someone have by any chance exposed his event as 'onEvent' in 1.3 from 1.4 he will need to use 'ononEvent' in the XML.
Activity
tjvantoll commentedon Sep 17, 2015
👍
I've always thought
cssClasswas an odd name. I should've asked for this myself a while ago.ligaz commentedon Sep 17, 2015
We should note that on the JavaScript side it is called
className.manijak commentedon Sep 17, 2015
Reminds me of .net WebForms :) But
classis better.enchev commentedon Sep 18, 2015
I've made it just because the new picture of @akorchev! :)
akorchev commentedon Sep 18, 2015
Now rename the JavaScript
cssClassproperty toclassName(or deprecate cssClass in favor of className).enchev commentedon Sep 18, 2015
@akorchev Done!
akorchev commentedon Sep 18, 2015
!!
akorchev commentedon Sep 18, 2015
I know that I am pushing this but what about
tap=""vsontap=""? Theonprefix is something web developers understand well.enchev commentedon Sep 18, 2015
@akorchev Here you go:36036c5 :)
tjvantoll commentedon Sep 18, 2015
Wow, this is awesome! @akorchev You should keep asking for things :)
hshristov commentedon Sep 22, 2015
@enchev Now we need to do the hard work to describe this change in the documentation & in help articles (cssClass rename, tap -> onTap). I'm marking this as a breaking change because if someone have by any chance exposed his event as 'onEvent' in 1.3 from 1.4 he will need to use 'ononEvent' in the XML.
enchev commentedon Sep 23, 2015
Just to clear what I've done in my pull request to avoid further confusion:
cssClassproperty is not removed and you can still use it from both XML and JavaScriptclassfor all view that can be used only from XMLtap,doubleTap, etc.:Now you can use also more familiar to web devs syntax with
onprefix:Both are valid!
enchev commentedon Sep 28, 2015
I've updated the docs to use
classinsteadcssClassand I've added special section to our declarative UI with XML article.lock commentedon Aug 30, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.