Card-specific options on ViewConfig.options (merged with cardPresentation registry).

interface CardViewConfigOptions {
    cardPresentation?: CardPresentation;
    onCardAction?: (
        actionId: string,
        ctx: {
            data: unknown;
            entityIRI?: string;
            typeIRI?: string;
            typeName?: string;
        },
    ) => void;
}

Properties

cardPresentation?: CardPresentation
onCardAction?: (
    actionId: string,
    ctx: {
        data: unknown;
        entityIRI?: string;
        typeIRI?: string;
        typeName?: string;
    },
) => void

Fired for custom card actions and optional telemetry.