Hi guys,
I wonder if there is any way in sencha to get html templates from a resource.
I know that I can create a class which a method which it gets by a proxy request resources from our resources directory. But what I'm wondering if we have any method from sencha templates core.
For example,
Code:
....
config: {
itemTpl: Ext.xxxx.getFromAResource(templateUrl)
}
Where this function gets the url template file as string with XTemplate variables and logic.
I think that will do the code more readable and maintainable.
Any help will be appreciated.
Cheers!