Nutrient Web SDK

ReferenceTextComparisonInstance

Interface TextComparisonInstance

A mounted text comparison instance.

You can generate an instance for text comparison by using NutrientViewer.loadTextComparison.

Interface

Properties

<K extends keyof { … }>(action: K, listener: { … }[K]) => void
() => { … }[]
() => boolean
() => number
() => number
(changeIndex: number) => number
<K extends keyof { … }>(action: K, listener: { … }[K]) => void
(flag: boolean) => void
(changeIndex: number) => void
(
    toolbarItemsCallback:
        | TextComparisonInnerToolbarItem[]
        | (
            (
                currentState: TextComparisonToolbarItem[],
            ) => TextComparisonToolbarItem[]
        ),
) => void
(flag: boolean) => void
(
    toolbarItemsCallback:
        | TextComparisonToolbarItem[]
        | (
            (
                currentState: TextComparisonToolbarItem[],
            ) => TextComparisonToolbarItem[]
        ),
) => void
() => void