We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Encodes a template value to JavaScript/ECMAScript.
<!--v render:rife.render.EncodeJs:valueId/--> {{v render:rife.render.EncodeJs:valueId/}}
Template
alert("{{v render:rife.reader.EncodeJs:alert/}}");
Code
template.setAttribute("alert", "It's alright! Everything is /OK/!");
Output
alert("It\'s alright! Everything is \/OK\/!");