Card

Card

new Card(id, label, labelFirstLetter, title, domElt)

Init instance of Card.
Source:
Parameters:
Name Type Description
id number Entity id
label string Entity label
labelFirstLetter string Letter for alphabetical diplaying
title string Entity title
domElt HTMLElement
who contain card HTML

Methods

inscribe(container)

Make card HTML & appendChild in its container
Source:
Parameters:
Name Type Description
container HTMLElement Container for cards linked by the same first letter