Options
All
  • Public
  • Public/Protected
  • All
Menu

The Document definition for Cards. Defines the DataSchema and common behaviors for Cards which are shared between both client and server.

mixes

CardsData

memberof

documents

param data

Initial data from which to construct the Cards

param context

Construction context options

Hierarchy

Index

Constructors

Properties

metadata: any = ...

Default metadata which applies to each instance of this Document type.

DEFAULT_ICON: string = "icons/svg/card-hand.svg"

The default icon used for a cards stack that does not have a custom image set

Methods

  • migrateData(data: any): any
  • inheritdoc

    Parameters

    • data: any

    Returns any

  • shimData(data: any, options: any): any
  • inheritdoc

    Parameters

    • data: any
    • options: any

    Returns any

Accessors

  • get TYPES(): string[]
  • The allowed set of CardsData types which may exist

    Returns string[]