What is best practice for naming custom property in ExtJS?
Is it a good idea to precede name with an underline?
Ext.create("Ext.Window,{
height:50,
_custom:"xxx",
_action:"yyyy"
});
another idea is using data_ prefix to mimic html5 custom attribute convention.
I decided to to use
_as a prefix for custom variables. because:It would be better if Sencha used a mechanism to prevent the mixing up.