我在ts中声明了一个变量。现在,在html中,我有了一个方法,可以调用onClick事件。我想要做的是将一个字符串与ts中的变量连接起来作为方法参数。我怎样才能做到这一点? TS: testVariable: string = "Test";
testfunction(test: string){
....} HTML: CLICK //template here is just a random string
// The method parameter should be templateTest
我使用HTML2PDF已经有一段时间了,最近,我的脚本无法在我的文件中加载唯一的图片。
// Génération du PDF
ob_start();
echo '<page>';
echo '<br/><br/><img src="https://www.yelofox.fr/images/yelofox.jpg" style="width:200px; float:left; margin-right:20px;" />';
// MORE HTML CODE WITHOUT