A function which can sanitize values that will be written to a specific kind of DOM sink.
See SanitizerFactory.
The value to sanitize. Will be the actual value passed into the lit-html template literal, so this could be of any type.
The value to write to the DOM. Usually the same as the input value, unless sanitization is needed.
A function which can sanitize values that will be written to a specific kind of DOM sink.
See SanitizerFactory.