@arcmantle/adapter-element
    Preparing search index...

    Type Alias ValueSanitizer

    ValueSanitizer: (value: unknown) => unknown

    A function which can sanitize values that will be written to a specific kind of DOM sink.

    See SanitizerFactory.

    Type declaration

      • (value: unknown): unknown
      • Parameters

        • value: unknown

          The value to sanitize. Will be the actual value passed into the lit-html template literal, so this could be of any type.

        Returns unknown

        The value to write to the DOM. Usually the same as the input value, unless sanitization is needed.