Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOptions

The options used to sanitize.

Hierarchy

  • IOptions

Index

Properties

Optional allowedAttributes

allowedAttributes: object

The allowed attributes for a given tag.

Type declaration

  • [key: string]: string[]

Optional allowedStyles

allowedStyles: object

The allowed style values for a given tag.

Type declaration

  • [key: string]: object
    • [key: string]: RegExp[]

Optional allowedTags

allowedTags: string[]

The allowed tags.

Generated using TypeDoc