Skip to content

pantoken-root / tools/demo/src / escapeSrcdoc

ฟังก์ชัน: escapeSrcdoc() ​

escapeSrcdoc(value): string

ทำการเอสเคปสตริงเพื่อฝังไว้ภายในค่าของแอตทริบิวต์ HTML ที่ถูกจำกัดด้วย ".

พารามิเตอร์ ​

value ​

string

คืนค่า ​

string