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

CollectionViewtype

The name of a display of <fuda-collection>: the view attribute's values. jukebox and tower are older names that open the deck (see collectionViewAliases).

Import it

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

Definition

type CollectionView = "deck" | "rolodex" | "binder" | "case" | "jukebox" | "random" | "story" | "wall" | "tower" | "spotlight" | "atlas" | "fan";

Examples

import { collectionViews, type CollectionView } from "@johnmorrisdotca/fuda-cards/collection";

const view: CollectionView = "binder";
console.log(collectionViews.some((one) => one.id === view)); // true
true

What it prints (run when this page was built)

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