dash_mp_components.BibtexButton

class dash_mp_components.BibtexButton(id: str | dict | None = None, className: str | None = None, doi: str | None = None, url: str | None = None, target: str | None = None, **kwargs)[source]

Bases: Component

A BibtexButton component. Standardized button for linking to BibTeX. If no url prop is supplied, a link will be generated using the doi prop and doi2bib.org.

Keyword arguments:

  • id (string; optional):

    The ID used to identify this component in Dash callbacks.

  • className (string; optional):

    Class name(s) to append to the component’s default class (mpc-bibtex-button) @default ‘button is-small’.

  • doi (string; optional):

    The DOI (Digital Object Identifier) of the reference to pass to doi2bib.org.

  • target (string; optional):

    Value to add to the anchor tag’s target attribute @default ‘_blank’.

  • url (string; optional):

    Directly supply the URL to a reference’s bibtex. If supplied, the component will not generate its own link using the doi prop.

__init__(id: str | dict | None = None, className: str | None = None, doi: str | None = None, url: str | None = None, target: str | None = None, **kwargs)

Methods

__init__([id, className, doi, url, target])

to_plotly_json()

Attributes

REQUIRED

UNDEFINED

available_wildcard_properties