screening
Version:
Tools for numbering screening plate
42 lines • 918 B
TypeScript
export interface WellInfo {
color?: string;
[key: string]: any;
}
export interface Well {
number: number;
position: string;
info: WellInfo;
selected?: boolean;
}
export interface PlateOptions {
/**
* Width of the plate
* @default 12
*/
width?: number;
/**
* Height of the plate
* @default options.width/3*2
*/
height?: number;
/**
* Size of the plate
* @default options.width*options.height
*/
size?: number;
}
export declare class Plate {
width: number;
height: number;
size: number;
wells: Well[];
constructor(options?: PlateOptions);
getWells(): Well[];
select(range?: string): void;
getArrayElement(index: number): Well;
updateColor(): void;
getByPosition(position: string): Well;
getByNumber(number: number): Well;
initialize(): void;
}
//# sourceMappingURL=plate.d.ts.map