We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently template can be given via a key only, for which template needs to be in DOM tree.
I need a way to pass template as an inline string like this:
var template1 = "Hi, {{name}}"; return template1;
Or based on a condition like this:
if(this.model.online){ return 'online-template'; }else{ return 'offline-template'; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently template can be given via a key only, for which template needs to be in DOM tree.
I need a way to pass template as an inline string like this:
Or based on a condition like this:
The text was updated successfully, but these errors were encountered: