Skip to the content

Fuda Cards札

Collectible card frames for images and live 3D: a true thickness, an edge, foil, stacks, wear and a binder, as two web components.

Fuda is the Japanese word 札 for a card or a tag. About the name

Contents

Reference · Collections and piles: pure helpers

deckLandingsconstant

The two ways a card can land, with the label on each button: face-up (still facing up) and face-down (turned over sideways on the way).

Import it

import { deckLandings } from "@johnmorrisdotca/fuda-cards/collection";

Definition

const deckLandings: readonly { id: "face-up" | "face-down"; label: string; }[] = [
    { id: "face-up", label: "Still facing up" },
    { id: "face-down", label: "Turned over" },
]

Examples

import { deckLandings } from "@johnmorrisdotca/fuda-cards/collection";

console.log(deckLandings.map((landing) => landing.id)); // [ 'face-up', 'face-down' ]
[ 'face-up', 'face-down' ]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/fuda-cards 0.11.0.