Home Reference Source Repository
import {BlockCitation} from 'peritext/referencers/iso690fr.js'
public class | source

BlockCitation

Extends:

core/utils/citationUtils/citationModels.js~BlockCitationModel → BlockCitation

Dumb component for rendering a iso690fr block citation

Constructor Summary

Public Constructor
public

constructor

Method Summary

Public Methods
public

renderAuthors(): ReactElement

Renders the representation of involved author (from resource), for long citations outputs

public

renderCompleteReference(): ReactElement

Renders the complete reference of a resource

public

renderReference(): ReactElement

Renders final markup of the contextualization

public

renderReferenceDecoration(): ReactElement

Renders additionnal reference information (isbn, doi, url)

Public Constructors

public constructor(props: object) source

constructor

Params:

NameTypeAttributeDescription
props object

Public Methods

public renderAuthors(): ReactElement source

Renders the representation of involved author (from resource), for long citations outputs

Return:

ReactElement

markup

public renderCompleteReference(): ReactElement source

Renders the complete reference of a resource

Return:

ReactElement

markup

public renderReference(): ReactElement source

Renders final markup of the contextualization

Return:

ReactElement

markup

public renderReferenceDecoration(): ReactElement source

Renders additionnal reference information (isbn, doi, url)

Return:

ReactElement

markup