Enode — API Reference
    Preparing search index...

    Interface StationLimitSheetProps

    interface StationLimitSheetProps {
        canManageDevices: boolean;
        holders: StationLimitHolder[];
        onClose: () => void;
        onOpenPlan: () => void;
        onRetry: () => void;
        onTakeOne: (holder: StationLimitHolder) => void;
        onTrainWithoutSaving?: () => void;
        open: boolean;
        subjectName?: string;
        takenFrom?: string;
        total: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    canManageDevices: boolean

    Whether the user may take a station from another device.

    The devices currently holding the stations.

    onClose: () => void

    Close the sheet; shows a close button in the header. Omit when embedded without a way out.

    onOpenPlan: () => void

    Open plan & usage.

    onRetry: () => void

    Ask again for a station ("Check again").

    onTakeOne: (holder: StationLimitHolder) => void

    Take one station from this holder.

    onTrainWithoutSaving?: () => void

    Go on with feedback training (live feedback, nothing saved). Omit to hide the action (e.g. portal).

    open: boolean
    subjectName?: string

    The name of the device the sheet is about, when it is NOT this device (e.g. the portal's device drawer). Omit for this device ("This device records …").

    takenFrom?: string

    After a successful take: the device name a station was taken from.

    total: number

    How many training stations the plan has.