Skip to content

Sanitizer

[<Interface>]
type Sanitizer =
    static member Create (allowAttribute: SanitizerAttribute -> bool, allowElement: SanitizerElementWithAttributes -> bool, get: unit -> SanitizerConfig, removeAttribute: SanitizerAttribute -> bool, removeElement: SanitizerElement -> bool, removeUnsafe: unit -> bool, replaceElementWithChildren: SanitizerElement -> bool, setComments: bool -> bool, setDataAttributes: bool -> bool) : Sanitizer
    abstract member allowAttribute (attribute: SanitizerAttribute) : bool
    abstract member allowElement (element: SanitizerElementWithAttributes) : bool
    abstract member get () : SanitizerConfig
    abstract member removeAttribute (attribute: SanitizerAttribute) : bool
    abstract member removeElement (element: SanitizerElement) : bool
    abstract member removeUnsafe () : bool
    abstract member replaceElementWithChildren (element: SanitizerElement) : bool
    abstract member setComments (allow: bool) : bool
    abstract member setDataAttributes (allow: bool) : bool
AssemblyXantham.Fable.Core.TS
Attributes[<Interface>]

Methods

static member Create (allowAttribute: SanitizerAttribute -> bool, allowElement: SanitizerElementWithAttributes -> bool, get: unit -> SanitizerConfig, removeAttribute: SanitizerAttribute -> bool, removeElement: SanitizerElement -> bool, removeUnsafe: unit -> bool, replaceElementWithChildren: SanitizerElement -> bool, setComments: bool -> bool, setDataAttributes: bool -> bool) : Sanitizer
abstract member allowAttribute (attribute: SanitizerAttribute) : bool
abstract member allowElement (element: SanitizerElementWithAttributes) : bool
abstract member get () : SanitizerConfig
abstract member removeAttribute (attribute: SanitizerAttribute) : bool
abstract member removeElement (element: SanitizerElement) : bool
abstract member removeUnsafe () : bool
abstract member replaceElementWithChildren (element: SanitizerElement) : bool
abstract member setComments (allow: bool) : bool
abstract member setDataAttributes (allow: bool) : bool