(。
我需要在我的pdf中添加复选标记(✓(。以下是我的文档定义的代码。我正在 Ionic 4 中创建 pdf
this.right='✓';
content: [
{//2
text: this.right,
absolutePosition: { x: 340, y: 100 },
fontSize: 6
}]
其中this.right
表示复选标记符号(✓
尝试添加内容属性。例如:
<style>
ul.tickedList li:before {
content: '✓';
color: #18ba9b;
font-size: 24px;
font-weight: 600;
}
</style>