Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type Aliases

EscapeHandler: ((str: string) => string)

Type declaration

    • (str: string): string
    • Parameters

      • str: string

      Returns string

OnTagAttrHandler: ((tag: string, name: string, value: string, isWhiteAttr: boolean) => string | void)

Type declaration

    • (tag: string, name: string, value: string, isWhiteAttr: boolean): string | void
    • Parameters

      • tag: string
      • name: string
      • value: string
      • isWhiteAttr: boolean

      Returns string | void

OnTagHandler: ((tag: string, html: string, options: { isClosing?: boolean; isWhite?: boolean; position?: number; sourcePosition?: number }) => string | void)

Type declaration

    • (tag: string, html: string, options: { isClosing?: boolean; isWhite?: boolean; position?: number; sourcePosition?: number }): string | void
    • Parameters

      • tag: string
      • html: string
      • options: { isClosing?: boolean; isWhite?: boolean; position?: number; sourcePosition?: number }
        • Optional isClosing?: boolean
        • Optional isWhite?: boolean
        • Optional position?: number
        • Optional sourcePosition?: number

      Returns string | void

SafeAttrValueHandler: ((tag: string, name: string, value: string, cssFilter: XSS.ICSSFilter) => string)

Type declaration

    • (tag: string, name: string, value: string, cssFilter: XSS.ICSSFilter): string
    • Parameters

      Returns string

Generated using TypeDoc