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

    Widget for render citation in Live Preview mode.

    Hierarchy

    • WidgetType
      • CitationWidget
    Index

    Constructors

    Properties

    el: HTMLElement | null = null
    eqNumbersAll: string[]
    parent: HoverParent | null = null
    plugin: default
    popover: CitationPopover | null = null
    range: { from: number; to: number }
    sourcePath: string
    view: EditorView | null = null

    Methods

    • 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

    • Build the DOM structure for this widget instance.

      Parameters

      • view: EditorView

      Returns HTMLElement