Equation Citator v1.3.12 Documentation
    Preparing search index...

    Widget for rendering figure citations in Live Preview mode Similar to CitationWidget but for figures

    Hierarchy

    • WidgetType
      • FigureCitationWidget
    Index
    el: HTMLElement | null = null
    figureTagsAll: string[]
    lastMouseX: number | undefined
    lastMouseY: number | undefined
    plugin: default
    popover: FigureCitationPopover | null = null
    range: { from: number; to: number }
    sourcePath: string
    view: EditorView | null = null
    • Compare this instance to another instance of the same type. (TypeScript can't express this, but only instances of the same specific class will be passed to this method.) This is used to avoid redrawing widgets when they are replaced by a new decoration of the same type. The default implementation just returns false, which will cause new instances of the widget to always be redrawn.

      Parameters

      Returns boolean

    • Can be used to configure which kinds of events inside the widget should be ignored by the editor. The default is to ignore all events.

      Returns boolean