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
写一个页面模板,想绑定click方法,结果函数直接运行,并且没有绑定成功
<div class='coupon' onClick="{{clickFunction}}"> <span>Select Color and Size</span> </div>
var clickFunction=function(){ console.log('binding success') } var firstObj={ width:width+'px', height:width+'px', backgroundColor:'pink', clickFunction:clickFunction } var newFirstScreen=new XTemplate(firstScreenTemplate).render(firstObj); Node.all('#firstScreen').html(newFirstScreen);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
写一个页面模板,想绑定click方法,结果函数直接运行,并且没有绑定成功
The text was updated successfully, but these errors were encountered: