What is the difference between xtype and alias used in Sencha? They’re both seem to be used as shorthand in different places.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is really confusing, even Sencha Touch developers team does not have a common opinion.
As far as I know, they design this merely for performance.
Aliasappears earlier thanxtype, they creatextypeconfig because if we don’t have to parse the string to get the xtype like before, it’s faster.Anyway, things like
xtype,ptype,ltypeor most common,aliasshould be unified and clarified in next releases, said the dev team.