|
|
|
|
|
by schemescape
1314 days ago
|
|
The examples in the docs show HTML in string format. Does it parse the string to determine the context? > t`<button @click="${() => data.clicks++}">Fired ${() => data.clicks} arrows</button>` If so, that is impressive, and something I'd love to use! Edit: I'm asking because I attempted to use template literals for HTML templates and escaping values is the trickiest part. I settled for requiring the caller to tell me what kind of escaping to use (with the default being very conservative). |
|