本文へ移動

Fuda Cards札

画像やライブ3Dを入れるコレクション用のカード枠です。本物の厚み、縁、箔、山、傷み、バインダーを、2つのWebコンポーネントで使えます。

「札(ふだ)」は、カードや札を指す日本語です。 名前について(英語)

目次

リファレンス · コレクションと山:計算部分

collectionViews定数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

The ten displays, in the order the buttons show them, each with the label on its button. jukebox and tower were two more names for the deck's pile of cards (no real counterpart for cards, and the same drawing), so they are no longer offered; see collectionViewAliases.

インポート

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

定義

const collectionViews: readonly { id: CollectionView; label: string; }[] = [
    { id: "deck", label: "Overlapping Deck" },
    { id: "rolodex", label: "Rolodex" },
    { id: "binder", label: "Binder Pages" },
    { id: "case", label: "Convention Display Case" },
    { id: "random", label: "Random Draw" },
    { id: "story", label: "Vertical Story Scroll" },
    { id: "wall", label: "Sliding Gallery Wall" },
    { id: "spotlight", label: "Spotlight Carousel" },
    { id: "atlas", label: "Card Table" },
    { id: "fan", label: "Fan of Cards" },
]

例

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

console.log(collectionViews.length, collectionViews[0].label); // 10 Overlapping Deck
10 Overlapping Deck

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/fuda-cards 0.11.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。