Pre-processors to run prior to transforming anchor elements.

interface HTMLAnchorElementPreprocessor {
    toData?: ((element) => void);
    toView?: ((element) => void);
}

Properties

Properties

toData?: ((element) => void)

Rule to possibly pre-process the HTMLAnchorElement prior to default toData processing.

Type declaration

    • (element): void
    • Parameters

      • element: HTMLAnchorElement

        the element to transform

      Returns void

toView?: ((element) => void)

Rule to possibly pre-process the HTMLAnchorElement prior to default toView processing.

Type declaration

    • (element): void
    • Parameters

      • element: HTMLAnchorElement

        the element to transform

      Returns void