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

BlockCitation

Extends:

react~React.Component → 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)

Inherited Summary

From class BlockCitationModel
public

Gets the schematype of the citation, from contextualization statement or from the resource bibType

public

render(): ReactElement

render

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