@protocraft/core
Version:
A React Framework for building extensible drag and drop page editors
12 lines (11 loc) • 339 B
TypeScript
import { EditorState, NodeId, NodeEventTypes } from '../interfaces';
export declare function EventHelpers(state: EditorState, eventType: NodeEventTypes): {
contains(id: NodeId): boolean;
isEmpty(): boolean;
first(): any;
last(): any;
all(): string[];
size(): any;
at(i: number): any;
raw(): Set<string>;
};