UNPKG

@visualjs/grid

Version:
20 lines (19 loc) 587 B
import { CellEditor, CellEditorParams } from "../../grid/cell"; interface Props { max?: number; size?: number; activeColor?: string; defaultColor?: string; } export declare class RatingEditor extends CellEditor<Props> { protected editor: HTMLDivElement; protected elements: HTMLSpanElement[]; protected value: number; protected props: Props; init(params: CellEditorParams<Props>): void; gui(): HTMLElement; protected setValue(value: number): void; protected active(index: number): void; getValue(): any; } export default RatingEditor;