allowAttribute

external fun allowAttribute(attribute: SanitizerAttribute): Boolean(source)

The allowAttribute() method of the Sanitizer interface sets an attribute to be allowed on all elements when the sanitizer is used.

MDN Reference