Saxonberg Server API
    Preparing search index...

    Public shape provided by SlottedMixin.

    interface Slotted {
        canOccupy(candidate: Stuff & Slottable, slot: string): boolean;
        getAllOccupants(): ReadonlyMap<string, ReadonlySet<Stuff & Slottable>>;
        getOccupant(slot: string): Stuff & Slottable | null;
        getOccupantCount(slot: string): number;
        getOccupants(slot: string): ReadonlySet<Stuff & Slottable>;
        getSlotNames(): readonly string[];
        getSlotSpec(name: string): SlotSpec | null;
        getStaticSlots(): readonly SlotSpec[];
        isSlotFull(slot: string): boolean;
        isSlotOccupied(slot: string): boolean;
        occupy(candidate: Stuff & Slottable, slot: string): void;
        setStaticSlots(value: SlotSpec[]): void;
        vacate(
            slot: string,
            candidate: Stuff & Slottable,
        ): Stuff & Slottable | null;
        vacateSole(slot: string): Stuff & Slottable | null;
    }

    Hierarchy (View Summary)

    Index

    Methods