WebIDLpedia

Sanitizer interface

Definition

HTML Sanitizer API defines Sanitizer



[Exposed=(Window,Worker)]
interface Sanitizer {
  constructor(optional SanitizerConfig config = {});
  SanitizerConfig get();
  SanitizerConfig getUnsafe();
};

Methods and attributes that return objects implementing Sanitizer

Referring IDL interfaces/dictionaries